Système de distribution Flatpak

Création : Debian 10 - Buster

Flatpak est format de construction et distribution d'applications de bureau. Un paquet Flarpak

Références :

Sommaire

1 - Environnement flatpak

$ sudo aptitude install flatpak
$ flatpak --version
Flatpak 1.2.5

2 - Installation manuelle d'une application

$ wget https://flathub.org/apps/details/de.haeckerfelix.gradio
$ flatpak install de.haeckerfelix.gradio.flatpakref
$ ls
de.haeckerfelix.gradio de.haeckerfelix.gradio.flatpakref
$ flatapk run de.haeckerfelix.gradio

3 - Utilisation des dépôts

3.1 - Ajout, contenu, liste et suppression des dépôts

$ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak remotes
Name Options
flathub system
$ $ sudo flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
$ flatpak remote-ls flathub-beta
Description Application Version Branch
ch.openboard.OpenBoard ch.openboard.OpenBoard
$ flatpak remotes
Name Options
flathub system
flathub-beta system
$ flatpak remote-ls flathub-beta
$ sudo flatpak remote-delete flathub-beta
$ sudo flatpak install https://flathub.org/beta-repo/appstream/de.haeckerfelix.Shortwave.flatpakref

3.2 - Installation, liste, suppression et mise à jour d'une application

$ flatpak install de.haeckerfelix.gradio
Looking for matches…
Found similar ref(s) for ‘de.haeckerfelix.gradio’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: y
$ sudo flatpak install gradio
Looking for matches…
Found similar ref(s) for ‘Gradio’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: y
Found ref ‘app/de.haeckerfelix.gradio/x86_64/stable’ in remote ‘flathub’ (system).
Use this ref? [Y/n]: y
$ flatpak list
Description Application Version Branch Arch Origin Installation
Gradio - Find and listen to internet radio stations de.haeckerfelix.gradio 7.3 stable x86_64 flathub system
default …eedesktop.Platform.GL.default 19.08 x86_64 flathub system
Intel …edesktop.Platform.VAAPI.Intel 19.08 x86_64 flathub system
GNOME Application Platform version 3.34 - Shared libraries used … org.gnome.Platform 3.34 x86_64 flathub system
$ sudo flatpak uninstall gradio
Found installed ref ‘app/de.haeckerfelix.gradio/x86_64/stable’ (system). Is this correct? [Y/n]: y
$ sudo flatpak update

3.3 - Lancement d'une application

Lancement d'une application (installée), utiliser

$ flatpak run de.haeckerfelix.gradio

3.4 - Recherche et informations

$ flatpak search gradio
Description Application Version Branch Remotes
Gradio - Find and listen to internet radio stations de.haeckerfelix.gradio 7.3 stable flathub flathub
$ flatpak info de.haeckerfelix.gradio

Gradio - Find and listen to internet radio stations

ID: de.haeckerfelix.gradio
Ref: app/de.haeckerfelix.gradio/x86_64/stable
Arch: x86_64
Branch: stable
Version: 7.3
License: GPL-3.0+
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 1,7 MB
Runtime: org.gnome.Platform/x86_64/3.34
Sdk: org.gnome.Sdk/x86_64/3.34

Commit: ebdbcb8fb8abecab77170a611d1e9b706430c8a3f7f4b834245a968e9faa3ab8
Parent: bcc82c813870be99cc8c41883db57c28a64ae322f997376ffa27208e404370e1
Subject: Update checksum (85bb702f)
Date: 2019-09-11 20:06:09 +0000