[Exchange and share] Deepin v23 安装 Firefox 的正确方式
Tofloor
poster avatar
188******69
deepin
2024-09-02 21:42
Author

想在Deepin v23上安装Firefox ESR版,之前在其他基于Debian的发行版上,只需要一行命令添加个PPA源,在update一下就可以安装了。

'sudo add-apt-repository ppa:mozillateam/ppa'

但是Deepin v23在执行这条命令的时候提示: 'add-apt-repository:找不到命令',搜了一下有说需要安装“software-properties-common”的、也有说要安装“python-software-properties” 的,还有说2个包不必同时安装、要看内核版本的新旧balbala。例如 https://cn.linux-console.net/?p=12568

试了一下安装 software-properties-common,然后继续添加PPA源,结果报另一串配置错误。呃~

搜了一下发现论坛里有人发了个新手教程 https://bbs.deepin.org/zh/post/213150 只是看着操作起来命令有点多,那有没有一把梭的方法呢?按说添加个PPA源、一句apt install就搞定了。既然PPA源不行,试试APT源怎么样?从其他帖子里发现很简单的方法,转一下希望能帮到他人。

第一步:添加 GPG 密钥,用于对通过其 APT 存储库提供的 Firefox 软件包进行签名:

sudo install -d -m 0755 /etc/apt/keyrings
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null

第二步:添加Key后,添加存储库

echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla-apt.list > /dev/null

第三步:sudo apt update之后,一行命令

sudo apt install firefox

当然,你可以安装自己喜欢的版本,例如firefox-esr或者beta版,等等。

Reply Favorite View the author
All Replies
s36376149
deepin
2024-09-02 21:53
#1

搞那么麻烦做什搞那么麻烦,做什么应用商店中安装不行吗?要是不行要是不行,星火商店总行了吧?

Reply View the author
xclimbing
deepin
2024-09-02 22:11
#2

deepin既然是从ubuntu继承过来的,我觉得就不能破坏传统,你可以维护自己的软件库和应用商店,但传统的方式也要保持兼容,例如楼主提到的PPA方式。

Reply View the author
海天鹰
deepin
2024-09-02 22:25
#3

Firefox不需要安装,官网下载压缩包,解压缩运行,还能升级。

Reply View the author
神末shenmo
deepin
Spark-App
2024-09-02 23:10
#4
Reply View the author
我是昵称
deepin
2024-09-03 07:29
#5

最简单的正确的方式不是应该打开应用商店安装吗?深度做的应用商店本来就是解决Linux下安装软件,你这么一弄,虽然正确,但复杂了!

Reply View the author
sudo~
deepin
2024-09-03 07:32
#6
海天鹰

Firefox不需要安装,官网下载压缩包,解压缩运行,还能升级。

正解
自己再弄个desktopapplaud

Reply View the author
deepinuser17
deepin
2024-09-03 07:41
#7

Deepin V23的源里有Firefox ESR 版。 用V23自己的源不是更好吗?

firefox-esr/unknown 115.2.1esr-1 amd64
  Mozilla Firefox web browser - Extended Support Release (ESR)
Reply View the author
nero28
deepin
2024-09-03 10:09
#8
sudo~

正解
自己再弄个desktopapplaud

以前我就是这么搞的,解压->双击就能用了,然后在任务栏上右击驻留.

Reply View the author
nero28
deepin
2024-09-03 10:10
#9

商店里有几个版本,这么搞复杂了.

Reply View the author
WangZhongyun
deepin
2024-09-03 11:18
#10
xclimbing

deepin既然是从ubuntu继承过来的,我觉得就不能破坏传统,你可以维护自己的软件库和应用商店,但传统的方式也要保持兼容,例如楼主提到的PPA方式。

最新Deepin23不仅不是继承Ubuntu,也不是继承Debian了,不过兼容deb包格式而已。

Reply View the author
WangZhongyun
deepin
2024-09-03 11:24
#11
nero28

商店里有几个版本,这么搞复杂了.

对。Deepin应用商店里几个版本中有比较新的firefox官方原版,也够新的了。

Reply View the author
xclimbing
deepin
2024-09-03 11:52
#12
WangZhongyun

最新Deepin23不仅不是继承Ubuntu,也不是继承Debian了,不过兼容deb包格式而已。

所以我觉得这不是什么好事情。

deepin这是想分家另过啊。

Reply View the author
zccrs
deepin
2024-09-03 13:20
#13
xclimbing

deepin既然是从ubuntu继承过来的,我觉得就不能破坏传统,你可以维护自己的软件库和应用商店,但传统的方式也要保持兼容,例如楼主提到的PPA方式。

现在不是从ubuntu集成过来的了,那都是很久历史的事情了。

Reply View the author
zccrs
deepin
2024-09-03 13:22
#14

不推荐自己加仓库,改了系统仓库会给以后埋坑,很可能会影响系统以后的升级。

Reply View the author
xclimbing
deepin
2024-09-03 13:36
#15
zccrs

现在不是从ubuntu集成过来的了,那都是很久历史的事情了。

是继承发扬,还是另起炉灶,这是一个问题。

Reply View the author
WangZhongyun
deepin
2024-09-03 21:11
#16
xclimbing

是继承发扬,还是另起炉灶,这是一个问题。

继承发扬也不是一成不变。量变到一定时候必要质变。新筑地基才能建更好的全新大厦。

Reply View the author
xclimbing
deepin
2024-09-03 21:27
#17
WangZhongyun

继承发扬也不是一成不变。量变到一定时候必要质变。新筑地基才能建更好的全新大厦。

你说的质变,是质量越变越差的意思吗?

真搞笑,明明人家传统的方式非常简单的操作,到你这儿搞得这么复杂。这叫质变?

Reply View the author
188******69
deepin
2024-09-05 21:23
#18

因为API兼容性的问题,不同的Linux发行版搞了几个不同的包管理技术,例如snap之类的等等。

就我个人的体验而言,还是apt或者yum一行命令的二进制包更优——当然,每个人对“好”的评价标准不同。

应用商店里是有火狐的安装包,但是有人觉得简中版“不干净”,所以追求一下国际版/原版——这个需求是本帖的初衷。各位高玩有自己的偏好大可share一下,不过大可不必臧否别人的方式/版本有毛病,您说是不是?

Reply View the author
Barry-okx
Junior Packager
2024-09-18 11:48
#19

23的商店里面没有我打包的 火狐ESR么? 我的deepin 还在20版本没有升级,不知道23商店里面是什么样,正常应该是有管理员测试过兼容性的。

Reply View the author