安装Flatpak
apt install flatpak
在命令行通过flatpak安装软件
flatpak install 需要安装的包名
也可通过网址安装(比如Gimp通过网址安装)
flatpak install https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref
如果Flatpak要支持图形界面
apt install gnome-software-plugin-flatpak
Add the Flathub repository
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
重启系统
reboot