Snap

Jump to: navigation, search

Snappy (or Snap) is a distribution-agnostic package management system developed by Canonical. The packages called snaps are self-contained applications running in a sandbox with limited access to the host system.

Icon-warning.png
Warning: Snap does not come pre-installed on openSUSE systems.

Installation


sudo zypper --gpg-auto-import-keys refresh

Finally, upgrade the package cache to include the new snappy repository:

sudo zypper dup --from snappy

Snap can now be installed with the following:

sudo zypper install snapd

You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.

Configuration

Now enable and start the snapd service with the following command:

sudo systemctl enable --now snapd

Tumbleweed users need to additionally run the following to enable and start the snapd.apparmor service:

sudo systemctl enable --now snapd.apparmor

At this point, we recommend restarting your machine. You now have snapd installed and ready to go.

Getting started

To install an app via the command line type:

sudo snap install app

See also

External links