Linux中通过压缩包安装Firefox浏览器 |
您所在的位置:网站首页 › 解压之后怎么安装软件包 › Linux中通过压缩包安装Firefox浏览器 |
若原系统中已经安装firefox,需要先删掉 首先检查系统有没有安装: rpm -qa|grep firefox如果有安装,先删掉 rpm -e firefox版本完全名称执行解压缩命令 tar jxvf Firefox-latest-x86_64.tar.bz2报错信息 tar (child): lbzip2: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now需要安装bzip2,yum安装的命令如下: yum -y install bzip2安装完成后再次执行解压缩命令即可 解压缩后将得到的文件夹,移到/usr/lib文件夹下 mv ./firefox /usr/lib/firefox移动完成后,建立link文件 ln -s /usr/lib/firefox/firefox /usr/bin/firefox在命令行输入 type firefox结果: firefox is /usr/bin/firefox发现firefox执行的是 /usr/bin/firxfox 查看安装的firefox版本 firefox -version结果: XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so: libgtk-3.so.0: cannot open shared object file: No such file or directory Couldn't load XPCOM.需要安装相应的包 yum install libXt*安装后再次查看安装的firefox版本 Mozilla Firefox 78.9.0esr可正常查看版本即可 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |