Gentoo使用flatpak

一、建立/etc/portage/repos.conf/flatpak-overlay.conf:git

[flatpak-overlay]
priority = 50
location = /usr/local/portage/flatpak-overlay
sync-type = git
sync-uri = https://github.com/fosero/flatpak-overlay.git
auto-sync = Yes

二、emerge --sync而後emerge flatpakgithub

三、從網絡安裝:網絡

flatpak install --from https://flathub.org/repo/appstream/org.kicad_pcb.KiCad.flatpakref

四、從文件安裝:app

從app應用站點:https://flathub.org/home找到app,下載.flatpakref,安裝code

五、從repository安裝rem

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.visualstudio.code

六、運行it

flatpak run com.visualstudio.code
相關文章
相關標籤/搜索