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:
snap --help
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.
Install Snaps
Use:
sudo snap install <snapname>
Example:
sudo snap install telegram-desktop
Start Snap application
Use the command:
$ snap run <app-name>
#Example
$ snap run telegram-desktop
Removing Snaps
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
Use snap revert
$ sudo snap revert <snap name>
List installed snaps.
$ snap list
Remove snap.
$ sudo snap remove <snapname>
Consult Snap documentation for more details on Snap and its usage.