Hi there,
I sort of installed FF 2.0: it runs from the applications menu and the "web browser" button in the GUI, but if I run 'firefox' from the terminal, I still get version 1.08.
Here was my procedure:
Downloaded the tar.gz archive from firefox's site to /home/
Untarred to home:
cd
tar -xvzf firefox-2.0.tar.gz
then ran the firefox file in the directory
I also lost my bookmarks in the old version.
Can someone tell me what I did wrong?
Thanks,
Nic
UPDATE:
I removed the old FF (yum remove firefox) and moved the FF 2.0 folder to usr/lib where the old folder was.
Now, I can get FF 2.0 to run from the menu or by ./firefox in the terminal. But now trying to run 'firefox' from the terminal gets me "bash: firefox: command not found"
This has to be something simple, but I can't figure it out.
Quote:UPDATE:
I removed the old FF (yum remove firefox) and moved the FF 2.0 folder to usr/lib where the old folder was.
Now, I can get FF 2.0 to run from the menu or by ./firefox in the terminal. But now trying to run 'firefox' from the terminal gets me "bash: firefox: command not found"
This has to be something simple, but I can't figure it out.
Try doing this from a terminal:
Code:
$ su -
[[enter your root password when prompted]]
# ln -s /usr/lib/firefox-xxx/firefox /usr/bin/firefox
Change
firefox-xxx for the folder where you put Firefox, and don't type the $ or # signs in front of the commands.
With a bit of luck, typing
firefox should then work!
W00t - 200th post!
Quote:<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentcommentid="9558" data-ipsquote-username="nperito" data-cite="nperito" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="2609" data-ipsquote-contentclass="forums_Topic"><div>UPDATE:
I removed the old FF (yum remove firefox) and moved the FF 2.0 folder to usr/lib where the old folder was.
Now, I can get FF 2.0 to run from the menu or by ./firefox in the terminal. But now trying to run 'firefox' from the terminal gets me "bash: firefox: command not found"
This has to be something simple, but I can't figure it out.
Try doing this from a terminal:
Code:
$ su -
[[enter your root password when prompted]]
# ln -s /usr/lib/firefox-xxx/firefox /usr/bin/firefox
Change
firefox-xxx for the folder where you put Firefox, and don't type the $ or # signs in front of the commands.
With a bit of luck, typing
firefox should then work!
W00t - 200th post!
</div></blockquote>
Thanks Hybrid,
I ran it, and created the file in usr/bin, but it still didn't work. Check it out:
[root@nlap-012eba56c6 ~]# ln -s /usr/lib/firefox/firefox/ /usr/bin/firefox
ln: `/usr/bin/firefox': File exists
[root@nlap-012eba56c6 ~]# firefox
bash: firefox: command not found
[root@nlap-012eba56c6 ~]# cd /usr/lib/firefox
[root@nlap-012eba56c6 firefox]# ./firefox
And then FF 2.0 works fine, but why do I have to ./firefox it?
Cheers,
Nic
Quote:Try this:
Code:
$ su -
[[enter your root password when prompted]]
# mv /usr/bin/firefox /usr/bin/firefox.old
# ln -s /usr/lib/firefox/firefox /usr/bin/firefox
<div>
Any luck?
</div>
Yes! Thanks Hybrid! In the future, I'll do this:
1) Download the tar.gz archive from firefox's site to a folder in /usr/lib [or wherever old firefox is]
2) Untar:
cd
tar -xvzf firefox-2.0.tar.gz
3) Then remove the old firefox
# yum remove firefox
4) Next check where the firefox folders are (here, usr/bin) and make a symbolic link:
# ln -s /usr/lib/firefox/firefox/ /usr/bin/firefox
# mv /usr/bin/firefox /usr/bin/firefox.old
# ln -s /usr/lib/firefox/firefox /usr/bin/firefox
Run Firefox
# firefox
If you see a problem, please let me know, but that's basically what I did here.
Thanks again!
Nic
Heh, no problem. :)
Thanks for reposting the solution - this way other people can learn and they don't have to ask again! :)
Just a quick note - I think you mean
"yum remove firefox"
instead of "remove firefox". Plus other people doing this process must remember to unpack firefox-2.0.tar.gz inside /usr/lib.
Fixed adding "yum " :)
Thanks all involved!
Quote:1) Download the tar.gz archive from firefox's site to a folder in /usr/lib [or wherever old firefox is]2) Untar (in my case, to /usr/lib):
cd
tar -xvzf firefox-2.0.tar.gz
3) Then remove the old firefox
# yum remove firefox
4) Check where the firefox folders are (here, /usr/bin), and make a symbolic link:
# ln -s /usr/lib/firefox/firefox/ /usr/bin/firefox
# mv /usr/bin/firefox /usr/bin/firefox.old
# ln -s /usr/lib/firefox/firefox /usr/bin/firefox
5) Run Firefox
# firefox
Thanks ZNX for fixing "yum remove firefox" in Step 3. I've been away and didn't see Hybrid's post.
I just installed FF on a different machine, following the steps above (untarring to /usr/lib, Step 2). Worked fine.
Thanks again. :)