Mark, Worked like a charm.
Thank you so much.
Like at least one other, registered just so I could say thank you
I appreciate you letting me know it was a help, and you’re welcome
Hi,
I’ve only just joined the Linux Community Forum and I am still trying to get to grips with how I reply to previous topics posted as well as generally finding my way around the site, so please forgive me if my first approach may not be the right way to go about things!
My query relates to Paul G’s excellent instructions on how to install Firefox 4 onto an Acer Aspire One running Linpus Lite (posted April 26 2011).
I followed the instructions very carefully but cannot get Firefox 4.0.1 to load. On completing the installtion instructions I got a message advising that the copy of Firefox that I had downloaded was not the latest version.
A link to download Firefox 4.0.1 was provided.
Not sure what to do next. Opening the current browser and clicking on the ‘About Mozilla Firefox’ tab’ confirms that my current version is still v2.0.2.14.
Opening the desktop menu and clicking File Manager confirms the following have been downloaded:
firefox-4.0.1.tar.bz2
libstdc++6.tar.bz2
libstdc++6.tar.bz2.1
As you can probably guess I am completely new to Linux, but always willing to learn as I go!
Any assistance to get Firefox 4.0.1 on to my Acer Aspire One would be much appreciated.
Thanks in advance.
If you’re referring to these instructions:
http://linuxforums.org.uk/netbooks/install-firefox-4-on-an-acer-aspire-one-running-linpus-lite-linux/
Who the heck is Paul G ?
Can you open a terminal and enter:
/opt/firefox/firefox
hit enter, and if Firefox starts… check which version…
If Firefox 4 starts, let me know and I’ll tell you what to do next.
If it doesn’t, tell me what the command output was.
Also, send the output from:
ls -l /opt/firefox
Thanks, this is really helpfull. It worked, although it kept saying: connection denied, at every command I put in. But after the reboot everything is working. Greetings from Amsterdam!
Yeh, that appears to be a bug in “sudo” on Linpus Lite… for most people it doesn’t actually stop the command from running, but for a few it does, so they have to “su” to gain administrative privileges.
Thanks for the feedback, and you’re welcome
Sorryeeee… I meant Mark G (not Paul G). I was having a bad day and clearly suffering after spending much time trying to find out why I could not install Firefox 4!
Anyway, thanks for your response, Mark, and having tried your suggestions I can report the following:
Running the terminal command /opt/firefox/firefox returns a large Firefox logo with Version 4.0.1 alongside.
Running the terminal command ls -l /opt/firefox returns at least 30 lines of code. To save space I have pasted the output into a simple Notepad file and have attached it to this reply.
I hope this provides useful info.
Regards
re-run this command:
sudo ln -fs /opt/firefox/firefox /usr/bin/firefox
then see if the normal Firefox icon opens FF2 or FF4.
For clarity, the above command is
SUDO LN -FS /OPT/FIREFOX/FIREFOX /USR/BIN/FIREFOX
but it MUST be all lower case… and don’t miss out the spaces
It’s usually best to cut and paste the commands, but also to visually check them before hitting enter.
BTW, you CAN have FF2 open whilst you enter these commands (to aid in cut and paste)… but once you’ve entered both commands, close ALL instances of FF2 before trying to run FF4 from the normal icon.
Can you also re-run this:
ls -l /opt/firefox
as last time you did
SUDO LS -1 /OPT/FIREFOX
when it should have been:
SUDO LS -L /OPT/FIREFOX
but again it MUST all be lower case as (unlike Windows) Linux commands ARE case sensitive.
I just want to check the ownership got changed.
Mark,
In line with your advice I have re-run the two terminal commands. I have been very careful to make sure that all the code entries are lower case and that all spaces have been observed.
Re-running the command:
sudo ln –fs /opt/firefox/firefox /usr/bin/firefox
returns the following response:
audit_log_user_command (): Connection refused
Clicking on the Firefox icon opens FF2.
I have also re-run the terminal command:
sudo ls –l /opt/firefox
As before, this has generated several lines of code (see attached file).
I appreciate your continued assistance and patience in helping me resolve this issue.
Regards
Try this…
Open a terminal and enter:
sudo -s
and hit enter.
Your prompt should have changed from a $ to a #
If it has changed to a #… enter:
ln -vfs /opt/firefox/firefox /usr/bin/firefox
hit enter.
Check the output from the above command reads:
[b]` /usr/bin/firefox' -> `/opt/firefox/firefox'[/b]if it says anything else, let me know.
Reboot, and check if Firefox4 or Firefox2 starts.
BTW, copy and paste the above commands because your “-” (dash) looks wrong.
–fs ← yours
-fs ← mine
Mark,
This looks promising! I entered terminal command:
sudo -s
and my prompt changed from a $ to a #
I then entered:
ln -vfs /opt/firefox/firefox /usr/bin/firefox
This returned:
When I rebooted and clicked on the ‘browser’ icon on the front page, a screen with a blue horizontal band along the top appeared containing the text:
[Quote] Problem loading page – Mozilla Firefox
[/quote]
Clicking on the ‘Help’ tab and selecting ‘About’ confirms that the browser is Firefox4.
In the centre of the same screen is a white rectangular panel with an orange warning triangle and the text:
[Quote] Offline Mode
Firefox is currently in offline mode and can’t browse the Web.
Clear the ‘Work Offline’ menu item, then try again.
[/quote]
A ‘clickable’ icon with the text
[Quote] Try Again appears immediately below. Clicking on this has no effect.
[/quote]
Not sure what the “Work Offline” item is or how it could be cleared.
Firefox 4 now appears to be loading so I guess we are nearly there!
Regards
In Firefox, hit Alt+F… the “File” menu should appeaar… hit W (to clear the tick from the “Work Offline” option)… Click the “Try again” button… or click the “Home” icon, or enter:
http://www.google.com
in the Address bar, and hit enter.
Firefox 4 is now up and running and works like a dream!
Many thanks for your advice, Mark, in helping me achieve this. Your assistance has been invaluable and I’ve certainly learned a lot. I hope that other Forum members who have followed this thread have also benefited.
This update has greatly improved the operation of my Acer Aspire One and makes browsing a much better experience without those annoying dropouts and other irritating glitches that have plagued me in the past with Firefox2.
I can now spend more time looking at postings on the Forum. There’s certainly a wealth of interesting ideas and discussion out there.
Thanks once again.
Lionheart
Hi Mark, I appreciate the effort you have put into supporting us poor AA1 users. I have followed every instruction but still have a problem. The command to launch the Firefox profile manager Firefox -profilemanager -no-remote gives the response “command not found”.
I can launch Firefox 4.0.1 by using /opt/firefox/firefox and this works OK but clicking on the home screen browser icon does nothing.
I have tried running sudo ln -fs /opt/firefox/firefox usr/bin/firefox but Firefox will still not open from the browser icon
I think I am close but this is a bit of a nuisence for the kids to run terminal to start Firefox.
Any advise would be appreciated.
Thanks. Paul
Hi, and welcome to the forum…
Bare in mind Linux commands ARE case sensitive, and must be entered EXACTLY as shown…
First, in Linux (unlike Windows) there is a world of difference between:
Firefox -profilemanager -no-remote
and
firefox -profilemanager -no-remote
That said, as Firefox 4 is working properly from the command line, the problem isn’t connected to the profiles, so you can ignore that part anyway
Secondly, your:
sudo ln -fs /opt/firefox/firefox usr/bin/firefox
is missing a / in front of usr
it should read:
sudo ln -fs /opt/firefox/firefox /usr/bin/firefox
Also, the desktop link may not become “active” until you’ve rebooted… have you rebooted ?
The problem appears to be with creating the symlink… so try this… open a terminal and enter:
sudo -s
(and hit Enter)
Check to see if your prompt (in the terminal) has changed from $ to #
(which signifies you now have root privileges, and no longer need to use the sudo prefix)
if it has, enter:
ln -vfs /opt/firefox/firefox /usr/bin/firefox
(and hit Enter)
You will know the command worked if the output from the command is:
` /usr/bin/firefox' -> `/opt/firefox/firefox'
For clarity, the above command is:
LN -VFS /OPT/FIREFOX/FIREFOX /USR/BIN/FIREFOX
but it MUST be all lower case… and don’t miss out the 3 spaces.
Now REBOOT.… then test if your home screen browser icon opens Firefox 4
It may be best to copy and paste the 2 commands.
If you’re still having problems, keep an eye out for me in chat (link at top of every forum page)
Hi Mark, than you so much for your patience.
I followed the instructions and the response was
[root@localhost home]# ln -vfs /opt/firefox/firefox /usr/bin/firefox
ln: /opt/firefox/firefox' and
/usr/bin/firefox/firefox’ are the same file
I have rebooted and Firefox still wont run from the browser icon.
I willl look out for you on chat. Many thanks. Paul.
Enter this:
ls -l /usr/bin/firefox
into a terminal, hit Enter, and send us the output.
Hi Mark,
this is the command and the result
[root@localhost home]# ls -l /usr/bin/firefox
lrwxrwxrwx 1 root root 12 2011-06-20 19:47 /usr/bin/firefox → /opt/firefox
[root@localhost home]#
Thanks. Paul.
OK, there’s the problem… the symlink is pointing at the /opt/firefox directory, not the /opt/firefox/firefox executable.
Open a terminal, and enter:
sudo mv -v /usr/bin/firefox /usr/bin/firefox-old
then
sudo ln -vfs /opt/firefox/firefox /usr/bin/firefox
EXACTLY as shown (probably best to copy/paste and visually check before executing)… these commands NEED to be exact.
output should be:
`/usr/bin/firefox' -> `/usr/bin/firefox-old'
and
`/usr/bin/firefox' -> `/opt/firefox/firefox'
If the output from the 2 commands was as above… REBOOT, then try your desktop icon.
If it was anything else, let me know what.
Yipeee… It works. Thank you so much. I’m happier than Andy Murray !
BTW, when I run Firefox 4 it asks me if I want to upgrade to Firefox 5. Is it safe to say yes or will it all go horribly wrong?
Many thanks.
Paul