![Focal 仓库中的旧 Flatpak 版本:对我来说没有 Chromium?](https://linux22.com/image/936177/Focal%20%E4%BB%93%E5%BA%93%E4%B8%AD%E7%9A%84%E6%97%A7%20Flatpak%20%E7%89%88%E6%9C%AC%EF%BC%9A%E5%AF%B9%E6%88%91%E6%9D%A5%E8%AF%B4%E6%B2%A1%E6%9C%89%20Chromium%EF%BC%9F.png)
尝试安装 flatpak Chromium,但无济于事:
5. [✗] org.chromium.Chromium stable i flathub < 102.8 MB
Error: org.chromium.Chromium needs a later flatpak version
error: Failed to install org.chromium.Chromium: app/org.chromium.Chromium/x86_64/stable needs a later flatpak version (1.8.2)
Flatpak 1.8.2 从 Groovy 开始可用:
$ rmadison flatpak
flatpak | 0.11.3-3 | bionic/universe | source, amd64, arm64, armhf, i386, ppc64el, s390x
flatpak | 1.0.8-0ubuntu0.18.04.1 | bionic-security/universe | source, amd64, arm64, armhf, i386, ppc64el, s390x
flatpak | 1.0.9-0ubuntu0.1 | bionic-updates/universe | source, amd64, arm64, armhf, i386, ppc64el, s390x
flatpak | 1.6.3-1 | focal/universe | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
flatpak | 1.6.5-0ubuntu0.1 | focal-updates/universe | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
flatpak | 1.8.2-1 | groovy/universe | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
flatpak | 1.8.4-1 | hirsute/universe | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
我想我可以删除官方的 Flatpak 并使用一些 PPA,但这几乎会破坏从可信来源获取软件的整个想法。出于某种原因,Snap Chromium 在我的系统上非常慢。(Snap Firefox 也是如此。)那么,还有其他选择吗?
答案1
没有什么可怕的。
官方 FlatPak 设置指南https://flatpak.org/setup/Ubuntu/列表电力购买协议。
因此你必须打开终端并输入:
sudo add-apt-repository ppa:flatpak/stable
sudo apt update
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.chromium.Chromium
注意:我正在使用 Ubuntu MATE 18.04 LTS,所以我也需要 PPA。