LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot run firefox (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-run-firefox-366263/)

seriesx4 09-23-2005 09:20 AM

cannot run firefox
 
I just installed firefox 1.0.7 in usr/lib/firefox-1.0.7, I installed the java plugin and the flash plugin. Everything works fine except that I can't start firefox from the terminal by typing 'firefox'.

If I put a symbolic link into /usr/bin I get this:

Code:

bash: /usr/bin/firefox: Too many levels of symbolic links
And if I put a hard link into /usr/bin :

Code:

Cannot find mozilla runtime directory. Exiting.
However, if I run 'firefox' from its home directory ( usr/lib/firefox-1.0.7/ ) it works...

What is wrong?

biophysics 09-23-2005 09:36 AM

Try this (as root):
Code:

cd /usr/bin
rm firefox
ln -s /usr/lib/firefox-1.0.7/firefox  firefox


seriesx4 09-23-2005 09:47 AM

.

TigerLinux 09-23-2005 11:22 AM

what linux u use?
firefox is a browser included, like konqueror,
what happened?

seriesx4 09-23-2005 11:55 AM

I "updated it". :cool:

I just didn't realise that 'ln' didn't work by doing the following (it almost seems a bit inconsistent);

Code:

#cd /usr/lib/firefox-1.0.7
#ln -s firefox /usr/bin/firefox

Instead you must do:

Code:

#cd /usr/bin
#ln -s /usr/lib/firefox-1.0.7/firefox firefox


I thought the first variant would work too.


All times are GMT -5. The time now is 09:46 PM.