Home > Articles

  • Print
  • + Share This
This chapter is from the book

Using Snaps

Software bundles packaged this way are called snaps. Snaps can be installed using Ubuntu Software or from the command line. On the command line, snaps have a new command. Use the following to interact with snaps.

To show a list of snap packages that are available to be installed:

matthew@seymour:~$ snap find

Because snaps are new, few packages are available today. However, this list is growing and is likely to become unwieldy at some point. Sure, you can use grep to search through the output to try to find a specific package in the list, but you can also use:

matthew@seymour:~$ snap find searchterm

To install a snap package:

matthew@seymour:~$ sudo snap install packagename

To show a list of snap packages that are currently installed:

matthew@seymour:~$ snap list

To update a snap package:

matthew@seymour:~$ sudo snap refresh packagename

To remove a snap package:

matthew@seymour:~$ sudo snap remove packagename

To display a list of changes, such as when snaps were installed, updated, or removed:

matthew@seymour:~$ snap changes

It is possible for you to create a snap package. See Chapter 39, “Opportunistic Development,” to learn how. Learn more and keep up to date as Ubuntu Snappy Core continues develop by checking out https://developer.ubuntu.com/en/snappy/.

  • + Share This
  • 🔖 Save To Your Account