Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Install and Use Snap on Ubuntu

Install snapd, check it and learn the main commands for finding, installing and removing apps.

VPS and Cloud Servers1 min read7 screenshots

Why use Snap

  • Easy installs and updates. Snaps update by themselves.
  • Better security. Each snap runs in a sandbox.
  • Many apps. The Snap Store has thousands.

(Snap is already installed on most Ubuntu releases. Follow these steps if it is missing.)

Install snapd

Step 1: Open a terminal.

Step 2: Update the package lists

sudo apt update
Updating the package lists
  • sudo runs the command with admin rights.
  • apt is the package manager of Ubuntu.
  • update refreshes the list of packages.

Step 3: Install snapd

sudo apt install snapd
Installing snapd

Check it

snap --version
The snap version

Update snaps

sudo snap refresh
Refreshing the snap packages

Find and install apps

Search the Snap Store:

snap search vlc
Searching for VLC

Install an app:

sudo snap install vlc
Installing VLC

Some apps need the --classic option because they need wider access:

sudo snap install code --classic

Useful commands

CommandWhat it does
snap listLists the installed snaps
snap info vlcShows details of a snap
sudo snap refresh vlcUpdates one snap
sudo snap remove vlcRemoves a snap

Remove an app

sudo snap remove vlc
Removing a snap

Quick recap

  • sudo apt install snapd.
  • snap search and sudo snap install add apps.
  • sudo snap refresh updates them.