What is the package management system Snappy?
Snappy is a package management system designed and developed by Canonical Ltd.
The Snappy package is called 'Snap' and the tool to use Snap is called 'Snapd"
Snap works with a variety of Linux distributions and is independent of the distribution's upstream software deployment.
Distribution with snap preinstalled
KDE Neon
Manjaro
Solus 3 and above
Ubuntu 18.04 and above
Most Ubuntu flavours
Zorin OS
Distributions where snap is not preinstalled but available
Please check the links below for installation instructions for each operating system.
| AlmaLinux OS Arch Linux CentOS Debian elementary OS Fedora GalliumOS Kali Linux | KDE Neon* Linux Mint Manjaro* openSUSE Parrot Security OS Pop!_OS Raspberry Pi OS |
Reference: Official Documents
Install Snapd on Linux
1.How to Install the snapd Package on Major Linux Distributions
......Debian and Ubuntu......
$ sudo apt update
$ sudo apt install snapd
......Fedora Linux......
$ sudo dnf install snapd
......CentOS & RHEL......
$ sudo yum install epel-release
$ sudo yum install snapd
......openSUSE_Leap_15.0......
$ sudo zypper addrepo --refresh \
![]()
Resource is no longer available! \
snappy
$ sudo zypper --gpg-auto-import-keys refresh
$ sudo zypper dup --from snappy
$ sudo zypper install snapd
2.After installing snapd, enable the systemd unit that manages the main snap communication socket
$ sudo systemctl enable --now snapd.socket
3.Start-up Confirmation
$ sudo systemctl is-active snapd.socket
active
$ sudo systemctl status snapd.socket
● snapd.socket - Socket activation for snappy daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.socket; enabled; preset: disabled)
Active: active (running) since Thu 2026-08-20 09:13:23 JST; 1h 18min ago
Until: Thu 2026-08-20 09:13:23 JST; 1h 18min ago
Triggers: ● snapd.service
Listen: /run/snapd.socket (Stream)
/run/snapd-snap.socket (Stream)
Tasks: 0 (limit: 21602)
Memory: 0B (peak: 0B)
CPU: 160us
CGroup: /system.slice/snapd.socket
Aug 20 09:13:23 Lepard systemd[1]: Starting Socket activation for snappy daemon…
Aug 20 09:13:23 Lepard systemd[1]: Listening on Socket activation for snappy daemon.
$ sudo systemctl is-enabled snapd.socket
enabled
4.Create a symbolic link between /var/lib/snapd/snap and /snap
$ sudo ln -s /var/lib/snapd/snap /snap
5.Check snapd and snap command line tool versions
$ snap version
snap 2.76-0.el9
snapd 2.76-0.el9
series 16
ol 9.8
kernel 6.12.0-205.92.4.2.el9uek.x86_64
architecture amd64
6.Install Package
As an example, we will install MicroK8s, a Kubernetes environment building tool developed by Canonical
$ sudo snap install microk8s --classic
microk8s (1.35/stable) v1.35.6 from Canonical✓ installed
7.Check installed packages
$ snap list
オプション「--all」で、無効になっているパッケージも表示することができる
$ snap list --all
Name Version Rev Tracking Publisher Notes
certbot 5.7.0 5781 latest/stable certbot-eff✓ classic
core 16-2.61.4-20260225 17292 latest/stable canonical✓ core
core22 20260410 2437 latest/stable canonical✓ base
core24 20260410 1643 latest/stable canonical✓ base
hello-world 6.4 29 latest/stable canonical✓ -
microk8s v1.35.6 9072 1.35/stable canonical✓ classic
snapd 2.76.2 27710 latest/stable canonical✓ snapd
[root@Lepard ~]# snap list
Name Version Rev Tracking Publisher Notes
certbot 5.7.0 5781 latest/stable certbot-eff✓ classic
core 16-2.61.4-20260225 17292 latest/stable canonical✓ core
core22 20260410 2437 latest/stable canonical✓ base
core24 20260410 1643 latest/stable canonical✓ base
hello-world 6.4 29 latest/stable canonical✓ -
microk8s v1.35.6 9072 1.35/stable canonical✓ classic
snapd 2.76.2 27710 latest/stable canonical✓ snapd
8.View Package Information
$ snap info microk8s
name: microk8s
summary: Kubernetes for workstations and appliances
publisher: Canonical✓
store-url: https://snapcraft.io/microk8s
contact: https://github.com/canonical/microk8s
license: Apache-2.0
description: |
MicroK8s is a small, fast, secure, certified Kubernetes distribution that installs on just about
any Linux box. It provides the functionality of core Kubernetes components, in a small footprint,
scalable from a single node to a high-availability production multi-node cluster. Use it for
offline developments, prototyping, testing, CI/CD. It's also great for appliances - develop your
IoT apps for K8s and deploy them to MicroK8s on your boxes.
commands:
- microk8s.add-node
- microk8s.addons
- microk8s.config
- microk8s.ctr
- microk8s.dashboard-proxy
- microk8s.dbctl
- microk8s.disable
- microk8s.enable
- microk8s.helm
- microk8s.helm3
- microk8s.images
- microk8s.inspect
- microk8s.istioctl
- microk8s.join
- microk8s.kubectl
- microk8s.leave
- microk8s.linkerd
- microk8s
- microk8s.refresh-certs
- microk8s.remove-node
- microk8s.reset
- microk8s.start
- microk8s.status
- microk8s.stop
- microk8s.version
services:
microk8s.daemon-apiserver-kicker: simple, enabled, active
microk8s.daemon-apiserver-proxy: simple, enabled, inactive
microk8s.daemon-cluster-agent: simple, enabled, active
microk8s.daemon-containerd: notify, enabled, active
microk8s.daemon-etcd: simple, enabled, inactive
microk8s.daemon-flanneld: simple, enabled, inactive
microk8s.daemon-k8s-dqlite: simple, enabled, active
microk8s.daemon-kubelite: simple, enabled, active
snap-id: EaXqgt1lyCaxKaQCU349mlodBkDCXRcg
tracking: 1.35/stable
refresh-date: today at 10:36 JST
channels:
1.35/stable: v1.35.6 2026-07-02 (9072) 179MB classic
1.35/candidate: v1.35.6 2026-06-24 (9072) 179MB classic
1.35/beta: v1.35.6 2026-06-24 (9072) 179MB classic
1.35/edge: v1.35.7 2026-07-23 (9135) 179MB classic
latest/stable: v1.36.2 2026-06-24 (9044) 181MB classic
latest/candidate: v1.36.3 2026-07-27 (9145) 181MB classic
latest/beta: v1.36.3 2026-07-27 (9145) 181MB classic
latest/edge: v1.36.3 2026-07-23 (9145) 181MB classic
1.36-strict/stable: v1.36.2 2026-06-30 (9090) 181MB -
1.36-strict/candidate: v1.36.2 2026-06-30 (9090) 181MB -
1.36-strict/beta: v1.36.2 2026-06-30 (9090) 181MB -
1.36-strict/edge: v1.36.3 2026-07-23 (9140) 181MB -
1.36/stable: v1.36.2 2026-06-30 (9092) 181MB classic
1.36/candidate: v1.36.2 2026-06-30 (9092) 181MB classic
1.36/beta: v1.36.2 2026-06-30 (9092) 181MB classic
1.36/edge: v1.36.3 2026-07-23 (9147) 181MB classic
1.35-strict/stable: v1.35.6 2026-07-02 (9073) 179MB -
1.35-strict/candidate: v1.35.6 2026-06-25 (9073) 179MB -
1.35-strict/beta: v1.35.6 2026-06-25 (9073) 179MB -
1.35-strict/edge: v1.35.7 2026-07-23 (9132) 179MB -
1.34-strict/stable: v1.34.9 2026-06-18 (9064) 185MB -
1.34-strict/candidate: v1.34.9 2026-06-16 (9064) 185MB -
1.34-strict/beta: v1.34.9 2026-06-16 (9064) 185MB -
1.34-strict/edge: v1.34.10 2026-07-23 (9133) 185MB -
1.34/stable: v1.34.9 2026-06-17 (9063) 185MB classic
1.34/candidate: v1.34.10 2026-07-23 (9130) 185MB classic
1.34/beta: v1.34.10 2026-07-23 (9130) 185MB classic
1.34/edge: v1.34.10 2026-07-23 (9130) 185MB classic
1.33-strict/stable: v1.33.13 2026-07-20 (9104) 178MB -
1.33-strict/candidate: v1.33.13 2026-07-09 (9104) 178MB -
1.33-strict/beta: v1.33.13 2026-07-09 (9104) 178MB -
1.33-strict/edge: v1.33.13 2026-07-08 (9104) 178MB -
1.33/stable: v1.33.13 2026-07-01 (9067) 178MB classic
1.33/candidate: v1.33.13 2026-06-23 (9067) 178MB classic
1.33/beta: v1.33.13 2026-06-23 (9067) 178MB classic
1.33/edge: v1.33.13 2026-06-22 (9067) 178MB classic
1.32-strict/stable: v1.32.13 2026-03-13 (8715) 173MB -
1.32-strict/candidate: v1.32.13 2026-03-12 (8715) 173MB -
1.32-strict/beta: v1.32.13 2026-03-12 (8715) 173MB -
1.32-strict/edge: v1.32.13 2026-05-19 (8923) 174MB -
1.32/stable: v1.32.13 2026-03-11 (8702) 173MB classic
1.32/candidate: v1.32.13 2026-03-10 (8702) 173MB classic
1.32/beta: v1.32.13 2026-03-10 (8702) 173MB classic
1.32/edge: v1.32.13 2026-05-19 (8924) 174MB classic
1.31-strict/stable: v1.31.14 2026-05-25 (8798) 169MB -
1.31-strict/candidate: v1.31.14 2026-04-02 (8798) 169MB -
1.31-strict/beta: v1.31.14 2026-04-02 (8798) 169MB -
1.31-strict/edge: v1.31.14 2026-05-19 (8922) 170MB -
1.31/stable: v1.31.14 2025-12-18 (8565) 169MB classic
1.31/candidate: v1.31.14 2025-12-17 (8565) 169MB classic
1.31/beta: v1.31.14 2025-12-15 (8565) 169MB classic
1.31/edge: v1.31.14 2026-05-19 (8931) 171MB classic
1.30-strict/stable: v1.30.14 2025-09-02 (8240) 169MB -
1.30-strict/candidate: v1.30.14 2025-08-26 (8240) 169MB -
1.30-strict/beta: v1.30.14 2025-08-26 (8240) 169MB -
1.30-strict/edge: v1.30.14 2026-05-19 (8927) 171MB -
1.30/stable: v1.30.14 2025-12-18 (8566) 170MB classic
1.30/candidate: v1.30.14 2025-12-17 (8566) 170MB classic
1.30/beta: v1.30.14 2025-12-15 (8566) 170MB classic
1.30/edge: v1.30.14 2026-05-19 (8925) 171MB classic
1.29-strict/stable: v1.29.15 2025-04-01 (7969) 171MB -
1.29-strict/candidate: v1.29.15 2025-03-30 (7969) 171MB -
1.29-strict/beta: v1.29.15 2025-03-30 (7969) 171MB -
1.29-strict/edge: v1.29.15 2026-04-01 (8795) 171MB -
1.29/stable: v1.29.15 2025-12-18 (8578) 171MB classic
1.29/candidate: v1.29.15 2025-12-17 (8578) 171MB classic
1.29/beta: v1.29.15 2025-12-15 (8578) 171MB classic
1.29/edge: v1.29.15 2026-04-01 (8797) 171MB classic
1.28-strict/stable: v1.28.15 2025-03-31 (7972) 187MB -
1.28-strict/candidate: v1.28.15 2025-03-30 (7972) 187MB -
1.28-strict/beta: v1.28.15 2025-03-30 (7972) 187MB -
1.28-strict/edge: v1.28.15 2026-04-02 (8805) 187MB -
1.28/stable: v1.28.15 2025-04-02 (7971) 187MB classic
1.28/candidate: v1.28.15 2025-04-02 (7971) 187MB classic
1.28/beta: v1.28.15 2025-04-02 (7971) 187MB classic
1.28/edge: v1.28.15 2026-04-02 (8802) 187MB classic
1.27-strict/stable: v1.27.16 2024-11-04 (7275) 179MB -
1.27-strict/candidate: v1.27.16 2024-11-04 (7275) 179MB -
1.27-strict/beta: v1.27.16 2024-11-04 (7275) 179MB -
1.27-strict/edge: v1.27.16 2024-10-16 (7275) 179MB -
1.27/stable: v1.27.16 2024-10-30 (7280) 179MB classic
1.27/candidate: v1.27.16 2024-10-30 (7280) 179MB classic
1.27/beta: v1.27.16 2024-10-30 (7280) 179MB classic
1.27/edge: v1.27.16 2024-10-16 (7280) 179MB classic
1.26-strict/stable: v1.26.15 2024-05-30 (6672) 174MB -
1.26-strict/candidate: v1.26.15 2024-04-04 (6672) 174MB -
1.26-strict/beta: v1.26.15 2024-04-04 (6672) 174MB -
1.26-strict/edge: v1.26.15 2024-07-16 (6979) 174MB -
1.26/stable: v1.26.15 2024-04-19 (6673) 174MB classic
1.26/candidate: v1.26.15 2024-04-03 (6673) 174MB classic
1.26/beta: v1.26.15 2024-04-03 (6673) 174MB classic
1.26/edge: v1.26.15 2024-07-16 (6980) 174MB classic
1.25-strict/stable: v1.25.16 2024-02-21 (6575) 171MB -
1.25-strict/candidate: ↑
1.25-strict/beta: ↑
1.25-strict/edge: ↑
1.25-eksd/stable: v1.25-18 2023-07-31 (5630) 176MB classic
1.25-eksd/candidate: ↑
1.25-eksd/beta: ↑
1.25-eksd/edge: ↑
1.25/stable: v1.25.16 2024-02-21 (6571) 172MB classic
1.25/candidate: ↑
1.25/beta: ↑
1.25/edge: ↑
1.24-eksd/stable: v1.24-30 2023-11-18 (6213) 173MB classic
1.24-eksd/candidate: ↑
1.24-eksd/beta: ↑
1.24-eksd/edge: ↑
1.24/stable: v1.24.17 2023-09-01 (5872) 226MB classic
1.24/candidate: ↑
1.24/beta: ↑
1.24/edge: ↑
1.23-eksd/stable: v1.23-33 2023-10-22 (6081) 168MB classic
1.23-eksd/candidate: ↑
1.23-eksd/beta: ↑
1.23-eksd/edge: ↑
1.23/stable: v1.23.17 2023-03-30 (4916) 213MB classic
1.23/candidate: ↑
1.23/beta: ↑
1.23/edge: ↑
1.22-eksd/stable: v1.22-26 2023-05-18 (5261) 165MB classic
1.22-eksd/candidate: ↑
1.22-eksd/beta: ↑
1.22-eksd/edge: ↑
1.22/stable: v1.22.17 2023-04-29 (4915) 187MB classic
1.22/candidate: ↑
1.22/beta: ↑
1.22/edge: ↑
1.21/stable: v1.21.13 2022-07-20 (3410) 191MB classic
1.21/candidate: ↑
1.21/beta: ↑
1.21/edge: ↑
1.20/stable: v1.20.13 2021-12-08 (2760) 222MB classic
1.20/candidate: ↑
1.20/beta: ↑
1.20/edge: ↑
1.19/stable: v1.19.15 2021-09-30 (2530) 216MB classic
1.19/candidate: ↑
1.19/beta: ↑
1.19/edge: ↑
1.18/stable: v1.18.20 2021-07-12 (2271) 198MB classic
1.18/candidate: ↑
1.18/beta: ↑
1.18/edge: ↑
1.17/stable: v1.17.17 2021-01-15 (1916) 177MB classic
1.17/candidate: ↑
1.17/beta: ↑
1.17/edge: ↑
1.16/stable: v1.16.15 2020-09-12 (1671) 179MB classic
1.16/candidate: ↑
1.16/beta: ↑
1.16/edge: ↑
1.15/stable: v1.15.11 2020-03-27 (1301) 172MB classic
1.15/candidate: ↑
1.15/beta: ↑
1.15/edge: ↑
1.14/stable: v1.14.10 2020-01-06 (1120) 218MB classic
1.14/candidate: ↑
1.14/beta: ↑
1.14/edge: ↑
1.13/stable: v1.13.6 2019-06-06 (581) 238MB classic
1.13/candidate: ↑
1.13/beta: ↑
1.13/edge: ↑
1.12/stable: v1.12.9 2019-06-06 (612) 260MB classic
1.12/candidate: ↑
1.12/beta: ↑
1.12/edge: ↑
1.11/stable: v1.11.10 2019-05-10 (557) 258MB classic
1.11/candidate: ↑
1.11/beta: ↑
1.11/edge: ↑
1.10/stable: v1.10.13 2019-04-22 (546) 222MB classic
1.10/candidate: ↑
1.10/beta: ↑
1.10/edge: ↑
installed: v1.35.6 (9072) 179MB classic
9.Update Package
When updating on a per-package basis
$ sudo snap refresh microk8s
To update all installed packages
$ sudo snap refresh
Automatic updates are also performed, by default every 4 hours
# snap refresh --time
timer: 00:00~24:00/4
last: n/a
hold: today at 11:10 JST
next: today at 09:14 JST (but held)
For more information, see the official document
10.Service Management
Check currently operating services
$ snap services
Service Startup Current Notes
certbot.renew enabled inactive timer-activated
microk8s.daemon-apiserver-kicker enabled active -
microk8s.daemon-apiserver-proxy enabled inactive -
microk8s.daemon-cluster-agent enabled active -
microk8s.daemon-containerd enabled active -
microk8s.daemon-etcd enabled inactive -
microk8s.daemon-flanneld enabled inactive -
microk8s.daemon-k8s-dqlite enabled active -
microk8s.daemon-kubelite enabled active -
Service Suspension
$ sudo snap stop microk8s
Stopped
Starting the Service
$ sudo snap restart microk8s
Restarted.
To disable automatic startup, add the "--disable" option to "snap stop."
$ sudo snap stop --disable microk8s
Stopped.
11.Package enable/disable
Use "snap disable" to disable the package
$ sudo snap disable microk8s
microk8s disabled
Use "snap enable" to enable
$ sudo snap enable microk8s
microk8s enabled
12.Uninstall the package
$ sudo snap remove microk8s
To remove completely, add "--purge" option.
$ sudo snap remove microk8s --purge
microk8s removed
