Fedora Linux Support Community & Resources Center
  #1  
Old 3rd June 2008, 08:43 PM
FergatROn's Avatar
FergatROn Offline
Registered User
 
Join Date: Mar 2008
Location: Georgia, USA
Posts: 146
How to Change Firefox Alias or any Alias?

Hi,

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:
Code:
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."
Reply With Quote
  #2  
Old 3rd June 2008, 09:18 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 7,562
I wouldn't bother with the alias stuff. For the symlink, as root
Code:
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
Reply With Quote
Reply

Tags
alias , change , firefox

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP alias on NIC sdotsen Servers & Networking 7 16th February 2009 04:53 PM
alias help madjac Using Fedora 0 5th May 2007 09:44 PM
Adding IP alias firebat Servers & Networking 0 13th November 2006 05:29 PM
Firefox slow + anti alias missing asun Using Fedora 1 24th April 2006 09:08 AM


Current GMT-time: 03:27 (Thursday, 19-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat