FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2008
    Georgia, USA

    How to Change Firefox Alias or any Alias?


    I'm running Fedora 9, but that's unrelated. I want to know how do I change the link "firefox" to my latest version of firefox.

    F9 shipped with Firefox 3 Beta 5. I downloaded and stored Firefox 3 rc1 at /usr/local/share/applications/firefox-3.0rc1/. When I do "which firefox" it prints /usr/bin/firefox - understandable. So; I did:
    alias firefox=/usr/local/share/applications/firefox-3.0rc1/firefox
    ln -s firefox /usr/local/share/applications/firefox-3.0rc1/firefox
    I don't fully understand the ln command, but either way it didn't work.

    Besides that I tried to install Flash player (rpm) and it installed it to work for /usr/bin/firefox, but not for my other firefox. I'm lost. Thanks.
    Marc F. | fergytech.com
    Registered Linux User #410978

    "Let the blind lead the blind... it's more fun to watch."

  2. #2
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Seville, FL
    I wouldn't bother with the alias stuff. For the symlink, as root
    rm /usr/bin/firefox
    ln -s /usr/local/share/applications/firefox-3.0rc1/firefox /usr/bin/
    That removes the original firefox symlink and creates a new one in its place pointing to your new install.
    The ln command is better understood once you grasp that the first path is to the binary you want to link to and that the second path is where you want the symlink to reside. If you only specify a folder (i.e. /usr/bin) then the name of the symlink automatically takes the name of the target file, or you can specify the same or different name for the symlink in the second path argument. Make sense now?

    Also, any menu items that call up FF also would need to be edited to point to the new install. And you'll need to create new symlinks to your FF plugin binaries in the /usr/local/share/applications/firefox-3.0rc1/plugins directory (check to see if that is the correct path) or just copy the ones from the previous install of FF using the '-P' option

    cp -P /path/to/old/FF/plugins/* /usr/local/share/applications/firefox-3.0rc1/plugins

Similar Threads

  1. IP alias on NIC
    By sdotsen in forum Servers & Networking
    Replies: 7
    Last Post: 16th February 2009, 04:53 PM
  2. alias help
    By madjac in forum Using Fedora
    Replies: 0
    Last Post: 5th May 2007, 09:44 PM
  3. Adding IP alias
    By firebat in forum Servers & Networking
    Replies: 0
    Last Post: 13th November 2006, 05:29 PM
  4. Firefox slow + anti alias missing
    By asun in forum Using Fedora
    Replies: 1
    Last Post: 24th April 2006, 09:08 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts