CentOS 7安装最新版firefox(Firefox Quantum)

来源:互联网 发布:淘宝网整体框架 编辑:程序博客网 时间:2024/05/17 08:42

1、简单说明

最新版的火狐浏览器(也就是Firefox Quantum)出来之后,看到官方说性能有了很大提高,打开网页速度溜到起飞,对于一个使用linux的人说来,折腾是必须的,尝鲜是肯定的。

2、安装环境

 CentOS 7 64位

3、具体步骤

3.1、卸载系统之前Firefox

sudo yum erase firefox

3.2、下载FireFox最新安装包

直接去界面下载,没有什么好说的。对了,下载和自己操作系统匹配的。

这里写图片描述

3.3、解压文件到/opt目录

我的默下载到Downloads目录下,所以在Downloads目录下执行如下命令。
[centos@localhost Downloads]$ sudo tar jxvf Firefox-latest-x86_64.tar.bz2 -C /opt/

3.4、增加新版本Firefox到应用程序栏

cd /usr/share/applications/sudo cp firefox.desktop firefox-quantum.desktop sudo vi firefox-quantum.desktop增加以下内容Exec=/opt/firefox/firefox %uExec=/opt/firefox/firefox -new-windowExec=/opt/firefox/firefox -private-windowIcon=/opt/firefox/browser/icons/mozicon128.png

3.5 验证

在应用程序->互联网下面打开火狐浏览器。查看浏览器版本按以下Alt键,出现工具栏,在最后一项“帮助”中选择“关于Firefox”这项。出现如下图说明安装成功。打开网页试了一下,速度的确飞快。