Files
oam/knowledge base/flatpak.md
2025-12-25 22:10:00 +01:00

1.7 KiB

Flatpak

TL;DR

Setup
apt install 'flatpak'
Usage
# List installed applications and runtimes.
flatpak list
flatpak list --app

# List remotes.
flatpak remotes
flatpak remotes --user

# Add remotes.
flatpak remote-add --if-not-exists 'flathub' 'https://flathub.org/repo/flathub.flatpakrepo'
flatpak remote-add --user --if-not-exists 'flathub' 'https://flathub.org/repo/flathub.flatpakrepo'

# Search for applications.
flatpak search 'vscode'

# Install applications.
flatpak install 'someRemote' 'org.stellarium.Stellarium'
flatpak install --user 'flathub' 'com.visualstudio.code-oss'
flatpak install 'https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref'

# Run applications.
flatpak run 'org.gimp.GIMP'

# Update applications.
flatpak update

# Uninstall applications.
flatpak uninstall 'org.stellarium.Stellarium'
flatpak uninstall --unused
flatpak uninstall --delete-data 'edu.berkeley.BOINC'

# Remove remotes.
flatpak remote-delete 'flathub'

# Fix inconsistencies.
flatpak repair

# Reset applications' permissions.
flatpak permission-reset 'org.gimp.GIMP'

# List operations.
flatpak history

Further readings

Sources