Firefox 2.0 runs from GUI not terminal - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +---- Forum: Web Browsers (https://www.linux-noob.com/forums/forum-24.html) +---- Thread: Firefox 2.0 runs from GUI not terminal (/thread-1700.html) |
Firefox 2.0 runs from GUI not terminal - nperito - 2006-12-07 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 Firefox 2.0 runs from GUI not terminal - nperito - 2006-12-07 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. Firefox 2.0 runs from GUI not terminal - hybrid - 2006-12-07 Quote:UPDATE: Try doing this from a terminal: Code: $ su - 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! Firefox 2.0 runs from GUI not terminal - nperito - 2006-12-07 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: Try doing this from a terminal: Code: $ su - 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 Firefox 2.0 runs from GUI not terminal - hybrid - 2006-12-07 Try this: Code: $ su - Any luck? Firefox 2.0 runs from GUI not terminal - nperito - 2006-12-11 Quote:Try this: 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 Firefox 2.0 runs from GUI not terminal - hybrid - 2006-12-11 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. Firefox 2.0 runs from GUI not terminal - znx - 2006-12-12 Fixed adding "yum " :) Thanks all involved! Firefox 2.0 runs from GUI not terminal - nperito - 2006-12-20 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): 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. :) |