Flatpak
Croce e delizia di Linux e' questo tipo di formato. Contiene al suo interno quasi tutte le librerie per funzionare, poche dipendenze, ma puo' essere installato a livello di utente o di sistema per tutti gli utenti. In realta' alla lunga diventa come gli altri formati, solo piu' complicato da gestire.
Per installare un pacchetto a livello generale si usa questa sintassi:
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo $ flatpak install flathub org.produttore.app
Vi chiedera' la password di root durante l'installazione.
Per avviare un programma:
$ flatpak run org.remmina.Remmina
Per installarlo solo a livello dell'utente corrente:
$ flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo $ flatpak install --user flathub org.produttore.app
Per capire cosa e' installato se di sistema o a livello di utente:
$ flatpak list --app Ref Options org.remmina.Remmina/x86_64/stable user,current com.freerdp.FreeRDP/x86_64/stable system,current io.gitlab.librewolf-community/x86_64/stable system,current org.dupot.easyflatpak/x86_64/stable system,current org.remmina.Remmina/x86_64/stable system,current
Come vedete lo stesso programma e' installato come utente e come sistema.
Per disinstallare a livello di utente il comando e':
$ flatpak uninstall --user org.remmina.Remmina/x86_64/stable Uninstalling from user: org.remmina.Remmina/x86_64/stable org.remmina.Remmina.Locale/x86_64/stable Is this ok [y/n]: y Uninstalling for user: org.remmina.Remmina/x86_64/stable Uninstalling for user: org.remmina.Remmina.Locale/x86_64/stable
Per avere tutte le versioni disponibili:
$ flatpak remote-info --log flathub org.remmina.Remmina/x86_64/stable Ref: app/org.remmina.Remmina/x86_64/stable ID: org.remmina.Remmina Arch: x86_64 Branch: stable Collection ID: org.flathub.Stable Date: 2025-04-09 12:45:11 +0000 Subject: update to latest commit (c0e535a7) Commit: dfd287848840235c76fc85416787bee540827f77b1635004bbf46e4522abbee2 Parent: a09c68c7a9dd51fc097fd7e45b8e5d65886077389234424d4721b009dc693b82 Download size: 10,1 MB Installed size: 24,0 MB Runtime: org.gnome.Platform/x86_64/46 Sdk: org.gnome.Sdk/x86_64/46 History: Subject: Update to correct tag (8b991638) Date: 2025-04-08 14:25:58 +0000 Commit: a09c68c7a9dd51fc097fd7e45b8e5d65886077389234424d4721b009dc693b82 Subject: Update libssh to 0.11.1 (92878107) Date: 2025-02-07 12:20:42 +0000 Commit: b2a370b944df340cc0b5afe56d5776519972055326db17eecd2bdbee20ef7dbf Subject: Update to version 1.4.39 (ba230c1e) Date: 2025-01-05 14:35:01 +0000 Commit: ca51caecfcfd6c4429012f568ff91ef3e664f052babb6332c31d03ea02996fce Subject: Update to version 1.4.38 (33aa1109) Date: 2025-01-04 14:04:45 +0000 Commit: 86c030c1df019abcd30b95515ee362587c62a460f2e71468cdae93a5253b1922
Per tornare indietro si lancia un aggiornamento specificando il commit; ad esempio per avere la versione 1.4.38:
$ sudo flatpak update --commit=86c030c1df019abcd30b95515ee362587c62a460f2e71468cdae93a5253b1922 org.remmina.Remmina/x86_64/stable