← Knowledge Base
Ubuntu ServerReference note1 min read · updated 2026-11-27

snap versus apt on Ubuntu

What snaps are, the basic commands, and when to prefer the apt package.

snapaptpackages
snap list
snap info <name>
sudo snap install <name>
sudo snap refresh                 # update all snaps
sudo snap remove <name>
snap services                     # snap-provided services

Snaps are self-contained packages that update themselves in the background and run confined. They start a little slower and use more disk space than apt packages. Some tools are only available as snaps on Ubuntu (a few browsers, for example); for server software such as nginx or Docker many people prefer the apt or the vendor's own repository because paths and service names are the conventional ones. You can postpone snap refreshes with sudo snap refresh --hold.