|
如果要查看已配置仓库中的可用软件包的列表(它将显示所有软件包,如应用程序和运行环境),运行以下命令:
$ flatpak remote-ls | head -10-
org.freedesktop.GlxInfo gnome-appsorg.gnome.Books gnome-appsorg.gnome.Builder gnome-appsorg.gnome.Calculator gnome-appsorg.gnome.Calendar gnome-appsorg.gnome.Characters gnome-appsorg.gnome.Devhelp gnome-appsorg.gnome.Dictionary gnome-appsorg.gnome.Documents gnome-appsorg.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 flathubDo you want to install it? [y/n]: yInstalling in system:org.gnome.Platform/x86_64/3.30 flathub 4e93789f42acorg.gnome.Platform.Locale/x86_64/3.30 flathub 6abf9c0e2b72org.freedesktop.Platform.html5-codecs/x86_64/18.08 flathub d6abde36c0becom.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.dconfcom.github.muriloventuroso.easyssh.Locale/x86_64/stable flathub af837356b222Is this ok [y/n]: yInstalling: org.gnome.Platform/x86_64/3.30 from flathub[####################] 1 metadata, 14908 content objects fetched; 228018 KiB transferred in 364 secondsNow at 4e93789f42ac.Installing: org.gnome.Platform.Locale/x86_64/3.30 from flathub[####################] 4 metadata, 1 content objects fetched; 16 KiB transferred in 2 secondsNow 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 secondsNow at d6abde36c0be.Installing: com.github.muriloventuroso.easyssh/x86_64/stable from flathub[####################] 191 metadata, 3633 content objects fetched; 24857 KiB transferred in 117 secondsNow at 337db43043d2.Installing: com.github.muriloventuroso.easyssh.Locale/x86_64/stable from flathub[####################] 3 metadata, 1 content objects fetched; 14 KiB transferred in 2 secondsNow at af837356b222.
所有已安装的应用程序都将放在以下位置:
$ ls /var/lib/flatpak/app/com.github.muriloventuroso.easyssh
如何运行已安装的应用程序?
运行以下命令以启动所需的应用程序,确保替换为你的应用程序名称:
$ flatpak run com.github.muriloventuroso.easyssh
如何查看已安装的应用程序?
运行以下命令来查看已安装的应用程序:
$ flatpak listRef Optionscom.github.muriloventuroso.easyssh/x86_64/stable system,currentorg.freedesktop.Platform.html5-codecs/x86_64/18.08 system,runtimeorg.gnome.Platform/x86_64/3.30 system,runtime
如何查看有关已安装应用程序的详细信息? (编辑:92站长网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|