Snap
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.
Installation
Version: Tumbleweed
sudo zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/ snappy
Version: Leap 15.6
sudo zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.6/ snappy
Version: Leap 15.5
sudo zypper ar -f https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.5/ snappy
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