1) download newest firefox , in this case, is 35.0.1
firefox-35.0.1.tar.bz2
2) cd to the /usr/local dict, we will install new firefox into this dict
[root@localhost firefox]# cd /usr/local/
[root@localhost local]# ls
bin etc games include lib lib64 libexec sbin share src
3) unzip
[root@localhost local]# tar -xjf /home/samliux/sw/firefox-35.0.1.tar.bz2
[root@localhost local]# ls
bin etc firefox games include lib lib64 libexec sbin share src
4) find the old firefox
[root@localhost local]# which firefox
/usr/bin/firefox
5)replace this file with the new one
[root@localhost bin]# mv firefox firefox.24.5.0 (rename the older firefox)
6) link the new file
[root@localhost bin]# ln -s /usr/local/firefox/firefox /usr/bin/firefox
阅读(369) | 评论(0) | 转发(0) |