linux- 安装firefox

本文详细介绍了在Red Hat Enterprise Linux Server 5.4系统上手动安装Firefox 3.6.6的过程,包括解压文件、创建符号链接及设置默认浏览器的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

环境:

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

 

桌面系统:GNOME desktop 2.16.0

下载firefox for linux

firefox-3.6.6.tar.bz2

 

解压缩到一目录下,例如/var/tmp

cd /var/tmp

bzip2 -d firefox-3.6.6.tar.bz2

tar -xvf firefox-3.6.6.tar

 

/var/tmp下会有一个firefox 目录

 

把此目录移至/usr/local下

cd /usr/local

mv /var/tmp/firefox .

 

链接到/usr/bin

cd /usr/bin

ln -s /usr/local/firefox/firefox firefox

 

到此我们就可以通过运行 /usr/local/firefox/firefox 来启动运行了

 

下面我们将firefox设置为默认的浏览器

在GNOME桌面系统,system->preferences->more preferences->preferred applications

on internet tab
web browser:

firefox
command:firefox %s

 

 

创建桌面快捷方式

 

2种方式:

1.

快捷方式名称:firefox

属性(Properties): command: /usr/local/firefox/firefox

2.

快捷方式名称:web browser

属性(Properties): command: htmlview %u

 

 

 

 

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值