In this article, we will have explained the necessary steps to install and configure Snap on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
Snap or snappy is a management software developed by Canonical companies. The installation package is called snaps and the tool used to run it is the snapd application. Basically this snap resembles a tool that previously existed namely apt-get and didn’t try to replace it.
Install Snap on Ubuntu
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
sudo apt update sudo apt upgrade
Step 2. Install Snap on Ubuntu 18.04.
To install snapd on Ubuntu type the following command:
sudo apt install snapd
Installing snap Packages:
sudo snap install <snap-name>
To remove a snap, all you need to do is run:
sudo snap remove <snap-name>
Check snap info:
sudo snap revert <snap-name>
We can use the snap list command, as shown below, to list the installed snap packages:
$ snap list Name Version Rev Tracking Publisher Notes core 16-2.43.3 8689 stable canonical* core core18 20200124 1668 stable canonical* base gimp 2.10.18 252 stable snapcrafters - gnome-3-26-1604 220.127.116.1191114 98 stable/… canonical* - gnome-3-28-1804 3.28.0-16-g27c9498.27c9498 116 stable canonical* - gnome-calculator 3.34.1+git1.d34dc842 544 stable/… canonical* - gnome-characters v3.32.1+git3.b9120df 399 stable/… canonical* - gnome-logs 3.34.0 81 stable/… canonical* - gnome-system-monitor 3.32.1-3-g0ea89b4922 127 stable/… canonical* - gtk-common-themes 0.1-28-g1503258 1440 stable/… canonical*
That’s all you need to do to install Snap on Ubuntu 18.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.