如果要查看已配置仓库中的可用软件包的列表(它将显示所有软件包,如应用程序和运行环境),运行以下命令:
$ flatpak remote-ls | head -10 -
org.freedesktop.GlxInfo gnome-apps org.gnome.Books gnome-apps org.gnome.Builder gnome-apps org.gnome.Calculator gnome-apps org.gnome.Calendar gnome-apps org.gnome.Characters gnome-apps org.gnome.Devhelp gnome-apps org.gnome.Dictionary gnome-apps org.gnome.Documents gnome-apps org.gnome.Epiphany gnome-apps
仅列出应用程序:
$ flatpak remote-ls --app
列出特定的仓库应用程序:
$ flatpak remote-ls gnome-apps
如何从 flatpak 安装包?
运行以下命令从 flatpak 仓库安装软件包:
$ sudo flatpak install flathub com.github.muriloventuroso.easyssh -
Required runtime for com.github.muriloventuroso.easyssh/x86_64/stable (runtime/org.gnome.Platform/x86_64/3.30) found in remote flathub Do you want to install it? [y/n]: y Installing in system: org.gnome.Platform/x86_64/3.30 flathub 4e93789f42ac org.gnome.Platform.Locale/x86_64/3.30 flathub 6abf9c0e2b72 org.freedesktop.Platform.html5-codecs/x86_64/18.08 flathub d6abde36c0be com.github.muriloventuroso.easyssh/x86_64/stable flathub 337db43043d2 permissions: ipc, network, wayland, x11, dri file access: home, xdg-run/dconf, ~/.config/dconf:ro dbus access: ca.desrt.dconf com.github.muriloventuroso.easyssh.Locale/x86_64/stable flathub af837356b222 Is this ok [y/n]: y Installing: org.gnome.Platform/x86_64/3.30 from flathub [####################] 1 metadata, 14908 content objects fetched; 228018 KiB transferred in 364 seconds Now at 4e93789f42ac. Installing: org.gnome.Platform.Locale/x86_64/3.30 from flathub [####################] 4 metadata, 1 content objects fetched; 16 KiB transferred in 2 seconds Now at 6abf9c0e2b72. Installing: org.freedesktop.Platform.html5-codecs/x86_64/18.08 from flathub [####################] 26 metadata, 131 content objects fetched; 2737 KiB transferred in 8 seconds Now at d6abde36c0be. Installing: com.github.muriloventuroso.easyssh/x86_64/stable from flathub [####################] 191 metadata, 3633 content objects fetched; 24857 KiB transferred in 117 seconds Now at 337db43043d2. Installing: com.github.muriloventuroso.easyssh.Locale/x86_64/stable from flathub [####################] 3 metadata, 1 content objects fetched; 14 KiB transferred in 2 seconds Now at af837356b222.
所有已安装的应用程序都将放在以下位置:
$ ls /var/lib/flatpak/app/ com.github.muriloventuroso.easyssh
如何运行已安装的应用程序?
运行以下命令以启动所需的应用程序,确保替换为你的应用程序名称:
$ flatpak run com.github.muriloventuroso.easyssh
如何查看已安装的应用程序?
运行以下命令来查看已安装的应用程序:
$ flatpak list Ref Options com.github.muriloventuroso.easyssh/x86_64/stable system,current org.freedesktop.Platform.html5-codecs/x86_64/18.08 system,runtime org.gnome.Platform/x86_64/3.30 system,runtime
如何查看有关已安装应用程序的详细信息?
(编辑:ASP站长网)
|