(: March 30, 2019)
How to install Snap on Ubuntu / Debian Linux distributions?. In this post, we will discuss the installation and usage of Snap on Ubuntu / Debian based Linux distributions. Snap is a package management/software deployment tool originally designed and developed by Canonical. In a nutshell, Snaps are applications compiled with libraries and dependencies.
What is Snapd?
Snapd is a REST API daemon service that runs on your Linux system to manage snap packages (“snaps“). You interact with Snapd through a client application –
snap. It interacts with the snap store to download and install Snaps on your system.
Why use Snaps?
Snaps are faster to install, easier to create, safer to run, and they update automatically and transactionally so your app is always fresh and never broken. Snaps can be used on all major Linux distributions, including Ubuntu, Linux Mint, Debian, Fedora and Arch.
Install Snap on Ubuntu / Debian
Snapd needs to be installed so that you can manage Snap packages. Most Ubuntu distributions come with Snap pre-installed. For othe Debian / Ubuntu based systems, it can easily be done by running the following commands.
sudo apt update
sudo apt install -y snapd
Using Snap on Ubuntu / Debian
View Snap help page:
Searching for a snap:
To search for Snaps, use
$ snap find <search terms>
This will query the store and list the results with their version number, developer names, and the description.
sudo snap install <snapname>
To remove a snap, all you need to do is run.
sudo snap remove <snapname>
Check snap info:
Use the command below to check for more info about a snap package.
$ snap info <snapname>
Roll back to a previous version of an application
$ sudo snap revert <snap name>
List installed snaps.
$ snap list
$ sudo snap remove <snapname>
Consult Snap documentation for more details on Snap and its usage.
For Other systems, refer to: