Snap is a packaging format for distributing sandboxed applications on GNU/Linux distributions. Use this tag for all questions related to creating, distributing and running Snaps.
Snaps are applications that run in a sandboxed environment and include all necessary dependencies. This gives the application the following benefits:
- Can be easily installed and uninstalled on most GNU/Linux distributions.
- Grants additional protection to the base system because of sandboxing.
- Does not depend on libraries from the base system, so alternate or multiple versions of software can be installed on the same system.
The downside to this is that the application will take up more disk space, since all dependencies are included with each application. Snaps in particular will rely on installed ubuntu-core images that provide common dependencies.
Snap is installed on Ubuntu by default. If the Snap daemon should somehow get uninstalled, it can be installed with:
sudo apt update
sudo apt install snapd
Snap packages are comparable in nature to flatpak and appimage. This existing Q&A explains more about the similarities and differences between the three formats.