Chinaunix首页 | 论坛 | 博客
  • 博客访问: 102338
  • 博文数量: 102
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1011
  • 用 户 组: 普通用户
  • 注册时间: 2014-01-15 13:58
个人简介

普普通通一个人

文章分类

全部博文(102)

文章存档

2018年(1)

2015年(13)

2014年(88)

我的朋友

分类: LINUX

2015-02-04 13:56:07

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) |
给主人留下些什么吧!~~