2008-01-29 11:42:50| 分类: linux learn | 标签: |举报 |字号大中小 订阅
Note: the article, Moving from Windows to Linux includes installation alternatives.
First, download the latest release to your home directory with your browser or download manager.
bash$ cd ~
bash$ wget http://ftp.mozilla.org/pub/mozilla.org/.../firefox-<version>.tar.gz
Next, extract the contents with an archiving utility such as Ark or tar.
bash$ tar zxf firefox-<version>.tar.gz
Now you must select the installation directory. If you are the only user, the extracted files could stay where they are, but If this is a multi-user system, the firefox directory must be moved to a publicly accessible location such as /usr/local or /opt.
bash$ su
<password>
bash# mv firefox /usr/local
bash# chown -R root:root /usr/local/firefox
The installation is more or less complete, but it's recommended that the firefox script be available somewhere in your path to avoid the inconvenience of having to enter the full path. This can be accomplished by creating a symbolic link in the relative 'bin' directory.
For the personal installation:
bash$ mkdir bin
bash$ cd bin
bash$ ln -s ../firefox/firefox .
Or the mult-user installation (as root):
bash# cd /usr/local/bin
bash# ln -s ../firefox/firefox .
Many Linux distributions already include /usr/local/bin and ~/bin in their global environment variable path, which can easily be verified by running 'firefox' from the shell or the desktop environment's (run) menu. If execution fails (command not found), you can adjust the path by appending "/usr/local/bin:$HOME/bin" to the existing PATH variable in /etc/profile and/or /etc/bashrc.
from:http://support.mozilla.com/kb/Upgrading+Firefox
评论