Snap snapd le gestionnaire de paquet multi distro

Voir :

https://itsfoss.com/use-snap-packages-ubuntu-16-04/

https://doc.ubuntu-fr.org/snap

Voir aussi :

Notes déploiement paquets GNU Linux

Install de Snap

sudo apt update sudo apt install snapd ## get the latest snapd # sudo snap install snapd sudo snap install core

Test

snap install hello-world

Config proxy

sudo -E snap set system proxy.http="$http_proxy" sudo -E snap set system proxy.https="$https_proxy"

Sous Ubuntu 18.04

# snap list
Name Version Rev Tracking Publisher Notes
core 16-2.35.5 5742 stable canonical✓ core
gnome-3-26-1604 3.26.0 74 stable/… canonical✓ -
gnome-calculator 3.30.1 260 stable/… canonical✓ -
gnome-characters 3.30.0 139 stable/… canonical✓ -
gnome-logs 3.30.0 45 stable/… canonical✓ -
gnome-system-monitor 3.30.0 57 stable/… canonical✓ -
gtk-common-themes 0.1-4-g88bc1b2 818 stable/… canonical✓ -
rocketchat-desktop 2.7.0 4 stable rocketchat✓ -

Install un paquet

sudo snap find notepad # snap info notepad-plus-plus sudo snap install notepad-plus-plus sudo snap install --classic notepadqq

Mise à jour

sudo snap refresh --list sudo snap refresh

Lancer une application

$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.48 10444 latest/stable canonical✓ core
pycharm-community 2020.3 222 latest/stable jetbrains✓ classic
$ snap run pycharm-community &

Redémarrer un service

snap stop multipass snap start multipass

Logs

journalctl --unit 'snap.multipass*'

Autres

Autre

snap install core sudo snap refresh core

Remove

apt-get -y autoremove --purge snapd snap-confine snapd ubuntu-core-launcher squashfs-tools

Accès à /etc /var … (mais toujours pas /tmp)

snap install --devmode gedit
snap connect vlc:removable-media