如何更新firefox到最新版
Tofloor
poster avatar
hxr
deepin
2020-03-24 05:10
Author
在应用商店里的firefox不是最新版的,官网上下载下来的是tar.bz2打包压缩文件,解压后怎么安装替换掉旧版本?
Reply Favorite View the author
All Replies
avatar
老陌
deepin
2020-03-24 05:30
#1
一、删除旧的firefox
sudo apt remove firefox*

二、下载新版本
https://www.firefox.com.cn

三、安装
tar -jxvf Firefox-latest-x86_64.tar.bz2 -C /opt

四、创建图标
创建文件:firefox.desktop
添加下面的内容:
[Desktop Entry]
Name=firefox
Comment=firefox
Exec=/opt/firefox/firefox
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Terminal=false
Type=Application
Categories=Application;Network;

五、复制到/usr/share/applications目录
sudo cp firefox.desktop /usr/share/applications/
Reply View the author
avatar
thepoy
deepin
2020-03-24 05:45
#2
在商店安装完后,删除/opt/firefox下的文件,直接用官网的压缩包里的文件放到里面去,就可以了
Reply View the author
Comments
surezc
2020-03-24 05:47
avatar
zhoutj2001
deepin
2020-03-24 05:57
#3
解压缩后,有一个名称为firefox的文件夹,改名称为firefox_zh
以管理员身份打开/usr/lib/
删除其中的firefox_zh文件夹,
复制粘贴前面改名后的文件夹,
继续用原来的打开方式。
Reply View the author
avatar
lbygljq
deepin
2020-03-24 14:05
#4
firefox安装成功后,可以在线更新的
Reply View the author
avatar
lbygljq
deepin
2020-03-24 14:12
#5
firefox安装成功后,可以在线更新的
Reply View the author
avatar
蒙笛
deepin
2020-03-24 18:38
#6
按照二楼方法,结合https://bbs.deepin.org/post/180020的方法,已经使用最新版火狐,并且去掉标题栏,谢谢分享。
Reply View the author
avatar
neko
deepin
Ecological co-builder
Q&A Team
2020-03-24 19:21
#7
正确的2楼方法
Reply View the author
avatar
137******86
deepin
2020-03-24 19:39
#8
https://pkgs.org/在这里搜debian的包
Reply View the author
avatar
hxr
deepin
2020-03-27 04:58
#9
谢谢各位,2楼的方法亲测可用
Reply View the author
avatar
zhouqz
deepin
2020-03-28 11:46
#10
有好多方法,我的做法是删除旧版本,修改sourceslist,apt-get install firefox   最后在浏览器addones里安装简体中文扩展
Reply View the author