How to Install and Manage Snap Packages on Ubuntu 16.04 LTS

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 1

Ubuntu 16.04 LTS introduced “Snap” packages, which are a great new way of installing apps. Snaps require different terminal commands–apt-get and dpkg will only allow you to install .deb packages the old way, not Snaps.

Snaps–which have the “.snap” extension–are more similar to containers. Applications in Snaps are self-contained, include all the libraries they need to function, and are sandboxed. They’ll install to their own directory and they won’t interfere with the rest of your system.

Not all apps are available as snaps just yet, but if you come across one that is, here’s how to install it.

RELATED ARTICLEShow-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 2Ubuntu 16.04 Makes Ubuntu Exciting Againhow-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 3How to Move the Unity Desktop’s Launcher to the Bottom of Your Screen on Ubuntu 16.04 how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 4

Search for Available Snap Packages

To see a list of all available packages in the store, open a terminal and run the following command:

snap find

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 5

To search for a specific package by name, just add your search term to the end of the snap find command:

snap find name

For a more complete search–searching package descriptions as well as package names–just pipe the output of the snap find command through the grep filtering tool, like so:

snap find | grep search

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 6

How to Install a Snap Package

To install a Snap package, use the following command, specifying the package by name. Because this makes changes to the system, you have to add a sudo before the command to run it with root privileges.

sudo snap install package-name

The snap command will download and install the snap package you specified, displaying the progress in the terminal window.

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 7

You can launch the application you installed like any other application. If it’s a graphical application, it should appear in your desktop’s applications menu. Otherwise, just start typing the application’s name at the terminal and press the “Tab” key to automatically complete it. You can then press Enter to launch the application or run the command you installed.

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 8

How to Update Snaps

To update an installed Snap package, run the following command, specifying the package’s name. If a new version of the Snap is available, it will be downloaded and installed.

sudo snap refresh package-name

There doesn’t appear to be a command that updates all installed Snaps at the moment, but we wouldn’t be surprised to see one added in the future.

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 9

How to List Your Installed Snaps

To list your installed Snap packages, run the following command

snap list

You can use this command to search your installed packages, too–just pipe the output through grep again:

snap list | grep search

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 10

How to Remove a Snap Package

To remove an installed Snap package from your computer, run the following command:

sudo snap remove package-name

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 11

View Recent Changes

Run the following command to view a list of system changes. This displays a list of the Snap packages you’ve recently installed refreshed (updated), and removed, along with the times those operations took place.

snap changes

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 12

See More Operations

To see more snap command operations, view the snap command’s manual with the following command. Use the arrow and page up/down keys to scroll through the manual. press the “q” key to quit when you’re done.

man snap

Ubuntu’s developers will likely continue working on the Snap package format and associated tools, so we’ll likely see more command-line options for working with Snap packages in the future.

how-to-install-and-manage-snap-packages-on-ubuntu-1604-lts photo 13


If you’re interested in creating your own .snap packages, consult Ubuntu’s Snap documentation for more details.

More stories

How to Enable 4K Content on the Amazon Fire TV

In recent years, 4K content—or Ultra High Definition (UHD)—has become more and more popular. Netflix shoots all of its original shows, like Daredevil and House of Cards, in 4K, giving owners of compatible TVs a viewing experience like never before. Getting 4K to display properly from some services,

How to Save All Your Current Tabs in Chrome for Reading Later

Chrome allows you to open tabs from your last browsing session when you open the browser. However, what if you want to save your current set of tabs to re-open at any time? Chrome doesn’t provide a way to do that natively, but there is an easy workaround using bookmarks.

How to Open a Recently Closed Tab in Safari for iOS

That feeling you get when you close the wrong browser tab by accident is no fun. Fortunately, Safari for iOS, like most modern browsers, provides a way to recover from your little mishap. You just have to know where to look.

How to Connect to a VPN on Android

Previously, we have covered what VPNs are and how you can easily connect to them in Windows. Android also supports VPNs – if you have an Android phone or tablet, you can easily connect it to a VPN.

Should You Change Your Passwords Regularly?

Yes, there are some situations where you’ll want to regularly change your passwords. But those will probably be the exception rather than the rule. Telling typical computer users they need to regularly change their passwords is a mistake.

Why Is Printer Ink So Expensive?

Printer ink is expensive, more expensive per drop than fine champagne or even human blood. If you haven’t gone paperless, you’ll notice that you’re paying a lot for new ink cartridges — more than seems reasonable.