Linux Mint – Installing Snap

Snap is a software packaging and deployment system developed for the Linux kernel. The packages, called snaps, and the tool for using them, snapd, work across a range of Linux distributions and allow upstream software developers to distribute their applications directly to users.

On Linux Mint, the “/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

Update the system with the below command line:

$ sudo apt update

snapd can be installed from the command line:

$ sudo apt install snapd

Your all set, the following is an example for installing Telegraf from the command line:

$ sudo snap install telegram-desktop