看来,至少在我的 PopOS 安装中,从 PopShop 安装时,如果从 deb 安装,则该程序可供所有用户使用,但对于 flatpak 安装则不可用。如何以可供多个用户使用的方式安装 flatpak 程序?
当我尝试运行flatpak install flathub net.xm1math.Texmaker
我得到Proceed with these changes to the user installation? [Y/n]:
所以我猜用户安装是默认的?
遵循我尝试过的flatpak 文档flatpak --system install flathub net.xm1math.Texmaker
,但这给了我error: No remote refs found similar to ‘flathub’
. 为什么这个命令不起作用?
编辑:
添加 flathub ref 并在系统范围内安装 GIMP 后,我现在有一堆重复的包:
Name Application ID Version Branch Installation
Discord com.discordapp.Discord 0.0.12 stable user
Spotify com.spotify.Client 1.1.42.622 stable user
Freedesktop Platform org.freedesktop.Platform 20.08.0 20.08 user
default org.freedesktop.Platform.GL.default 19.08 system
default org.freedesktop.Platform.GL.default 19.08 user
default org.freedesktop.Platform.GL.default 20.08 user
nvidia-450-66 org.freedesktop.Platform.GL.nvidia-450-66 1.4 system
nvidia-450-66 org.freedesktop.Platform.GL.nvidia-450-66 1.4 user
openh264 org.freedesktop.Platform.openh264 2.1.0 2.0 system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.0 user
Freedesktop SDK org.freedesktop.Sdk 20.08.0 20.08 user
GNU Image Manipulation Program org.gimp.GIMP 2.10.20 stable system
Manual org.gimp.GIMP.Manual 2.10 system
Manual org.gimp.GIMP.Manual 2.10 user
GNOME Application Platform ve… org.gnome.Platform 3.36 system
GNOME Application Platform ve… org.gnome.Platform 3.36 user
Pop Gtk theme org.gtk.Gtk3theme.Pop-dark 3.22 system
Pop Gtk theme org.gtk.Gtk3theme.Pop-dark 3.22 user
KDE Application Platform org.kde.Platform 5.15 user
QGnomePlatform org.kde.PlatformTheme.QGnomePlatform 5.15 user
QtSNI org.kde.PlatformTheme.QtSNI 5.15 user
QGnomePlatform-decoration …ylandDecoration.QGnomePlatform-decoration 5.15 user
编辑2:
关于上述情况,拥有多个版本的大型运行时(如 nvidia 驱动程序)似乎很愚蠢......
所以我猜每个用户的“参考”都是分开的,我很想删除我的用户,看看 PopShop 是否会默认为另一个,但不想把事情搞砸。
1 个回答