In this article, we cover how to install or remove Snaps in Ubuntu. Most of us would prefer to install packages through standard Ubuntu repository. But, there are certain packages which aren’t available through standard Ubuntu repository.
So, we need to find alternate ways to install those packages. Installing Snaps is one such method available.
Before installing Snaps, we need to find whether a Snap is available to install or not. Use the following syntax to search for a Snap –
snap find <snap-name>
For instance, if we want to find Skype –
snap find skype
Note: Following operations require superuser privileges. In case you don’t have one then, we advise you to contact your System Administrator for assistance.
Install a Snap in Ubuntu
To install a Snap –
sudo snap install <snap-name>
If you don’t use sudo, then it would prompt to Authenticate ourselves.
Continuing with the Skype example, we can install it through the following command –
sudo snap install skype
Remove a Snap in Ubuntu
We keep installing packages as and when necessary. When we no longer need a package then, it is better to remove it. Otherwise, it would keep consuming precious system resources. We can get a list of all the Snaps installed in our system by –
snap list
To remove a Snap –
sudo snap remove <snap-name>
For instance, to remove Skype –
sudo snap remove skype
In conclusion, we have covered how to Install and Remove Snaps in Ubuntu here. If the package isn’t available through standard Ubuntu repository then one has the option to find it through Snap.