Installing snap on Linux Mint
Snap is available for Linux Mint 18.2 (Sonya), Linux Mint 18.3 (Sylvia), Linux Mint 19 (Tara), Linux Mint 19.1 (Tessa) and the latest release, Linux Mint 20 (Ulyana).
You can find out which version of Linux Mint you’re running by opening System info from the Preferences menu.
On Linux Mint 20, /etc/apt/preferences.d/nosnap.pref needs to be removed before Snap can be installed. This can be accomplished from the command line:
$ sudo rm /etc/apt/preferences.d/nosnap.pref $ sudo apt update
To install snap from the Software Manager application, search for snapd and click Install.
Alternatively, snapd can be installed from the command line:
$ sudo apt install snapd
Either restart your machine, or log out and in again, to complete the installation.
To test your system, install the hello-world snap and make sure it runs correctly:
$ snap install hello-world hello-world 6.4 from Canonical✓ installed $ hello-world Hello World!
Snap is now installed and ready to go! If you’re using a desktop, a great next step is to install the Snap Store app.
Last updated 6 months ago.