Snap - snapd -snappy

De Linuxmemo.

A ‘snap’ is a universal Linux package.

Snaps work on any distribution or device. Snaps are faster to install, easier to create, safer to run, and they update automatically and transactionally so your app is always fresh and never broken.

The public collection of snaps includes the latest and best apps from GitHub and beyond, so you have the whole world of Linux apps at your fingertips.

Sommaire

[modifier] Liste des application disponible

https://uappexplorer.com/apps?type=snappy

[modifier] CLI

https://www.ubuntu.com/desktop/snappy

To list all snaps installed on your machine:

$ sudo snap list

To find a snap in the store:

$ sudo snap find <text to search>

To install a snap:

$ sudo snap install <snap name>

To update a snap:

$ sudo snap refresh <snap name>

To update all your snaps:

$ sudo snap refresh all

To revert a snap to the previously installed version:

$ sudo snap revert <snap name>

Or remove the snap:

$ sudo snap remove <snap name>

[modifier] Paquets SNAP

Snaps are compressed "squashfs" files, which typically get 'installed' to /var/lib/snapd/snaps

Mont point, look in /snap/<snapname>/<current>/. Note that you're peering into the snap, the contents aren't unpacked onto your filesystem.

The only other thing you'll find is a .desktop file in /var/lib/snapd/desktop/applications.

Once your snap has been run, you may also find data in ~/snap/<snapname>.

[modifier] supported-interfaces

https://snapcraft.io/docs/supported-interfaces

liste des interfaces:

snap interface

connexion manuelle:

snap connect gping:network-observe

[modifier] PROXY

sudo snap set system proxy.http="http://<proxy_addr>:<proxy_port>"
sudo snap set system proxy.https="http://<proxy_addr>:<proxy_port>"   # attention la valeur est bien "http:" et pas "https:"

sudo snap get system proxy
Outils personnels