mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Improved flatpak's ansible play and notes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user