Skip to content

Instantly share code, notes, and snippets.

@user5145
Last active November 20, 2024 13:59
Show Gist options
  • Select an option

  • Save user5145/9aecebaa8045174958123c9798c93009 to your computer and use it in GitHub Desktop.

Select an option

Save user5145/9aecebaa8045174958123c9798c93009 to your computer and use it in GitHub Desktop.
how to build, install and remove flatpak applications from cli
Store in a repository
flatpak-builder --force-clean builds --repo=localrepo your.application.Client.yml
flatpak --user install localrepo your.application.Client
Store in a folder
flatpak-builder --user --force-clean --install builds your.application.Client.yml
Add common repositories
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists kdeapps https://distribute.kde.org/kdeapps.flatpakrepo
flatpak remote-add --if-not-exists gnome https://sdk.gnome.org/gnome.flatpakrepo
flatpak remote-add --if-not-exists org.mozilla.FirefoxRepo https://firefox-flatpak.mojefedora.cz/org.mozilla.FirefoxRepo.flatpakrepo
flatpak remote-add --if-not-exists winepak https://dl.winepak.org/repo/winepak.flatpakrepo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment