Ubuntu安装flatpak软件

安装 flatpak

  1. Ubuntu 20.04 及以后版本安装 flatpak

    sudo apt install flatpak
    flathub
  2. Ubuntu 18.04 及以前版本需要使用 PPA

    sudo add-apt-repository ppa:flatpak/stable
    sudo apt update
    sudo apt install flatpak

添加 flathub 仓库

Ubuntu 中安装好 Flatpak 后,如果直接尝试安装软件包,由于未添加 Flatpak 软件源,将会提示 No remote refs found similar to ‘flathub’ 错误

  1. 添加 Flathub 中央仓库,但是速度很慢,建议使用下面的上海交大镜像源

  2. 使用上海交大镜像源

使用 flatpak 安装软件

安装过程中会逐步安装依赖

flatpak_install

重启电脑,软件列表里就会出现刚刚安装的软件

其他

参考

Last updated

Was this helpful?