Snap Wiki



$ snap list


Snap packages installed by default in Ubuntu 18.04 LTS are:

  • gnome-calculator
  • gnome-characters
  • gnome-logs
  • gnome-system-monitor

Which can be found using the command sudo snap list . To remove default Snap apps use:

$ sudo snap remove gnome-calculator gnome-characters gnome-logs gnome-system-monitor


Then install their .deb counterparts with:

$ sudo apt install gnome-calculator gnome-characters gnome-logs gnome-system-monitor


Additionaly, you can uninstall the whole Snapd ecosystem from your computer with:

sudo apt purge snapd squashfs-tools gnome-software-plugin-snap


Snap confinement

Snap confinement

  • Strict
    Used by the majority of snaps. Strictly confined snaps run in complete isolation, up to a minimal access level that’s deemed always safe. Consequently, strictly confined snaps can not access your files, network, processes or any other system resource without requesting specific access via an interface (see below).
  • Classic
    Allows access to your system’s resources in much the same way traditional packages do. To safeguard against abuse, publishing a classic snap requires manual approval, and installation requires the --classic command line argument.
  • Devmode
    A special mode for snap creators and developers. A devmode snap runs as a strictly confined snap with full access to system resources, and produces debug output to identify unspecified interfaces. Installation requires the --devmode command line argument. Devmode snaps cannot be released to the stable channel, do not appear in search results, and do not automatically refresh.

Process for reviewing classic confinement snaps


$ sudo snap services
Service                                              Startup   Current   Notes
microk8s.daemon-apiserver-kicker                     disabled  inactive  -
microk8s.daemon-apiserver-proxy                      disabled  inactive  -
microk8s.daemon-cluster-agent                        disabled  inactive  -
microk8s.daemon-containerd                           disabled  inactive  -
microk8s.daemon-etcd                                 disabled  inactive  -
microk8s.daemon-flanneld                             disabled  inactive  -
microk8s.daemon-k8s-dqlite                           disabled  inactive  -
microk8s.daemon-kubelite                             disabled  inactive  -
multipass.multipassd                                 enabled   active    -
snapd-desktop-integration.snapd-desktop-integration  enabled   -         user


$ sudo snap restart multipass.multipassd

Selecting a snap channel


$ snap info microk8s
  1.25/stable:           v1.25.2         2022-09-29 (4055) 174MB classic
  1.25/candidate:        v1.25.2         2022-09-29 (4055) 174MB classic
  1.25/beta:             v1.25.2         2022-09-29 (4055) 174MB classic
  1.25/edge:             v1.25.2         2022-09-29 (4055) 174MB classic
  latest/stable:         v1.25.0         2022-09-07  (3827) 174MB classic
  latest/candidate:      v1.25.1         2022-09-17 (3930) 174MB classic
  latest/beta:           v1.25.2         2022-09-22 (3943) 174MB classic
  latest/edge:           v1.25.2         2022-10-06 (4066) 175MB classic
  dqlite/stable:         –                                       
  dqlite/candidate:      –                                   


$ sudo snap install microk8s --classic --channel=1.25/stable


$ sudo snap refresh --list


$ sudo snap refresh PACKAGE_NAME


$ sudo snap refresh

How to close the Snap Store to allow Snapd to update it


$ killall snap-store
$ sudo snap refresh