Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-14-2006, 02:23 AM   #1
LQ Newbie
Registered: Sep 2006
Posts: 5

Rep: Reputation: 0
mozilla firefox 2.0


i used
tar -xvf <filename>
mv firefox /usr/local

now my firefox 2.0 gets loaded only when i type
on terminal. just "firefox" gives me a blank white firefox page of the older version. "/usr/local/firefox/firefox" loads the updater everytime and tries to doenload the latest add ons. how do i make firefox 2.0 run directly from terminal????

thanking you
Old 11-14-2006, 06:20 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062
Look in /etc/profile for the last 'PATH=' entry; after that add
log out, log back in (/etc/profile is only read once at login) and you'll be good to go.

The section you're looking for is somewhere after something that will look like this:
# Set the default system $PATH:

# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
# the $PATH.  Some means of connection don't add these by default (sshd comes
# to mind).
if [ "`id -u`" = "0" ]; then
  echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
  if [ ! $? = 0 ]; then

# Set the additional $PATH:
Old 11-14-2006, 08:39 PM   #3
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Perhaps an easier (better ?) way of doing this is to change the symbolic link in /usr/bin to point to the new firefox.

IE: (as root)
mv /usr/bin/firefox /usr/bin/firefox1.5
ln -s /usr/local/firefox/firefox /usr/bin/firefox
Since there is only one firefox executable that you need, there is no need to modify your PATH. The only time I change $PATH is if I want a bin directory in your home (for shell scripts for your user only), or for installations like Java with multiple executables.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mozilla Firefox and Mozilla Thunderbird Released LXer Syndicated Linux News 0 11-09-2006 05:21 PM
LXer: Mozilla Corporation Signs Mozilla Firefox Distribution Deal with RealNetworks LXer Syndicated Linux News 0 08-03-2006 03:21 PM
LXer: Mozilla Firefox and Mozilla Thunderbird Community Test Day LXer Syndicated Linux News 0 07-14-2006 08:54 AM
Mozilla flaws could allow attacks, data access into Firefox & Mozilla web browsers! t3gah Linux - Security 6 04-09-2006 04:00 AM
Mozilla Firefox and Mozilla Thunderbird FireInTheDark Linux - Software 3 08-14-2004 11:52 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration