« Flatpack » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (Une version intermédiaire par le même utilisateur non affichée) | |||
| Ligne 1 : | Ligne 1 : | ||
= 📦 Flatpak — mémo des commandes essentielles = | |||
== | |||
== 🔎 Informations & état == | |||
== | |||
=== Version Flatpak === | |||
<syntaxhighlight lang="bash">flatpak --version</syntaxhighlight> | |||
=== Dépôts configurés === | |||
<syntaxhighlight lang="bash">flatpak remotes</syntaxhighlight> | |||
=== Applications et runtimes installés === | |||
<syntaxhighlight lang="bash">flatpak list</syntaxhighlight> | |||
=== Voir uniquement les applications === | |||
<syntaxhighlight lang="bash">flatpak list --app</syntaxhighlight> | |||
=== Voir uniquement les runtimes === | |||
<syntaxhighlight lang="bash">flatpak list --runtime</syntaxhighlight> | |||
----- | |||
== 📥 Installation == | |||
=== Installer une application depuis Flathub === | |||
<syntaxhighlight lang="bash">flatpak install flathub <Application-ID></syntaxhighlight> | |||
Exemple : | |||
<syntaxhighlight lang="bash">flatpak install flathub org.mozilla.firefox</syntaxhighlight> | |||
----- | |||
== ▶️ Lancer une application == | |||
<syntaxhighlight lang="bash">flatpak run <Application-ID></syntaxhighlight> | |||
Exemple : | |||
<syntaxhighlight lang="bash">flatpak run org.gimp.GIMP</syntaxhighlight> | |||
----- | |||
== 🔄 Mises à jour == | |||
=== Vérifier / appliquer les mises à jour === | |||
<syntaxhighlight lang="bash">flatpak update</syntaxhighlight> | |||
=== Mise à jour silencieuse === | |||
<syntaxhighlight lang="bash">flatpak update -y</syntaxhighlight> | |||
=== Mettre à jour uniquement les métadonnées === | |||
<syntaxhighlight lang="bash">flatpak update --appstream</syntaxhighlight> | |||
----- | |||
== 🗑️ Suppression / nettoyage == | |||
=== Désinstaller une application === | |||
<syntaxhighlight lang="bash">flatpak uninstall <Application-ID></syntaxhighlight> | |||
=== Supprimer les dépendances inutiles === | |||
<syntaxhighlight lang="bash">flatpak uninstall --unused</syntaxhighlight> | |||
=== Supprimer une version précise === | |||
<syntaxhighlight lang="bash">flatpak uninstall <Application-ID>//<branch></syntaxhighlight> | |||
----- | |||
== 🔐 Permissions & debug == | |||
=== Voir les permissions d’une application === | |||
<syntaxhighlight lang="bash">flatpak info --show-permissions <Application-ID></syntaxhighlight> | |||
=== Modifier les permissions (CLI) === | |||
<syntaxhighlight lang="bash">flatpak override <Application-ID> --filesystem=home</syntaxhighlight> | |||
''(GUI recommandée : '''Flatseal''')'' | |||
----- | |||
== 🧱 Runtimes & dépendances == | |||
=== Voir les dépendances d’une app === | |||
<syntaxhighlight lang="bash">flatpak info <Application-ID></syntaxhighlight> | |||
=== Voir quel runtime est utilisé === | |||
<syntaxhighlight lang="bash">flatpak info --show-runtime <Application-ID></syntaxhighlight> | |||
----- | |||
== 🧠 Avancé / utile == | |||
=== Rechercher une application === | |||
<syntaxhighlight lang="bash">flatpak search <mot-clé></syntaxhighlight> | |||
=== Réparer une installation Flatpak === | |||
<syntaxhighlight lang="bash">flatpak repair</syntaxhighlight> | |||
=== Nettoyer le cache === | |||
<syntaxhighlight lang="bash">flatpak repair --delete-unused</syntaxhighlight> | |||
----- | |||
== 👤 Installation utilisateur vs système == | |||
=== Installer pour l’utilisateur courant === | |||
<syntaxhighlight lang="bash">flatpak install --user flathub <Application-ID></syntaxhighlight> | |||
=== Lister les installations === | |||
<syntaxhighlight lang="bash">flatpak list --user | |||
flatpak list --system</syntaxhighlight> | |||
----- | |||
== 🧾 Résumé express == | |||
{| class="wikitable" | |||
|- | |||
! Action | |||
! Commande | |||
|- | |||
| Lister apps | |||
| <code>flatpak list --app</code> | |||
|- | |||
| Installer | |||
| <code>flatpak install flathub APPID</code> | |||
|- | |||
| Lancer | |||
| <code>flatpak run APPID</code> | |||
|- | |||
| Mettre à jour | |||
| <code>flatpak update</code> | |||
|- | |||
| Nettoyer | |||
| <code>flatpak uninstall --unused</code> | |||
|- | |||
| Permissions | |||
| <code>flatpak override</code> | |||
|- | |||
| Réparer | |||
| <code>flatpak repair</code> | |||
|} | |||
----- | |||
== Gestionnaire == | == Gestionnaire == | ||
[https://github.com/flattool/warehouse warehouse] | [https://github.com/flattool/warehouse warehouse] | ||
source: https://www.hostinger.fr/tutoriels/lister-paquets-installes-ubuntu | |||
[[Catégorie:Linux]] | [[Catégorie:Linux]] | ||