Installing snap on Linux Mint
Snap is available for the latest release of Linux Mint, 20.2 (Uma), and older releases including Linux Mint 18.2 (Sonya), Linux Mint 18.3 (Sylvia), Linux Mint 19 (Tara), Linux Mint 19.1 (Tessa), Linux Mint 20 (Ulyana) and Linux Mint 20.1 (Ulyssa).
You can find out which version of Linux Mint you’re running by opening System info from the Preferences menu.
On a Linux Mint 20.x release (20, 20.1 and 20.2),
/etc/apt/preferences.d/nosnap.pref needs to be either removed or moved before Snap can be installed. This can be accomplished from the command line, and the following command (for example) moves nosnap.pref to a renamed nosnap.backup file in your Documents directory:
$ sudo mv /etc/apt/preferences.d/nosnap.pref ~/Documents/nosnap.backup $ 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 7 months ago.