LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   symlinking firefox (https://www.linuxquestions.org/questions/linux-software-2/symlinking-firefox-295756/)

dr_zayus69 02-28-2005 02:31 AM

symlinking firefox
 
i am using fedora core 2 and tried installing firefox. I got it installed and set it as my default browser but when i click on the browser icon i still get mozilla. And i can't type firefox at the terminal to start it up. I want to add something to /bin/ (is that where programs go that you can type to run?) to symlink to where the installer installs it (currently: /home/jeff/src/firefox-installer) What would i put in /bin/? Create a empty file called firefox then use chmod +x to make it executable then do ln -s /home/jeff/src/firefox-installer/firefox /bin/firefox?

edit: now it does start firefox when i click on the web browser icon after i restarted.

reddazz 02-28-2005 02:59 AM

Try installing it in /usr/local (so firefox would be in /usr/local/firefox), then create a symlink as follows,
#ln -s /usr/local/firefox/firefox /usr/local/bin/.
If you do that, just running "firefox" from a console or shortcut such as an icon will start firefox. You may have to change the default web browser from Mozilla to firefox, I think you do this somewhere in the "Preferences" section of the GNOME menu (I think the option is somethig like "Preffered Applications").

dr_zayus69 02-28-2005 03:20 AM

thanks that worked. :)


All times are GMT -5. The time now is 11:59 AM.