Improved flatpak's ansible play and notes

This commit is contained in:
Michele Cereda
2022-05-10 23:27:19 +02:00
parent e462fb1ffd
commit b0c67f6131
2 changed files with 59 additions and 8 deletions

View File

@@ -3,18 +3,46 @@
## TL;DR
```shell
# add the `flathub` remote
# List installed applications and runtimes.
flatpak list
flatpak list --app
# List remotes.
flatpak remotes
# 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 `vscode`
# Search for applications.
flatpak search vscode
# install `vscode`
# Install applications.
flatpak install fedora org.stellarium.Stellarium
flatpak install --user flathub com.visualstudio.code-oss
flatpak install https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref
# uninstall unused packages
# Run applications.
flatpak run org.gimp.GIMP
# Update applications.
flatpak update
# Uninstall applications.
flatpak uninstall org.stellarium.Stellarium
flatpak uninstall --unused
# Remove remotes.
flatpak remote-delete flathub
# Fix inconsitencies.
flatpak repair
# Reset applications' permissions.
flatpak permission-reset org.gimp.GIMP
# List operations.
flatpak history
```
## Further readings