How to enable Snap on Linux Mint 20

How to Enable Snap on Linux Mint 20 and Install Snap Packages

In Linux Mint 20, if you want to enable snap support to install snap packages, the usual command “sudo apt install snapd” to install snapd does not work. This is because APT Package Manager blocks the installation stating.

With Linux Mint 20, the Mint dev team has decided to disable the snap support and block installation of Ubuntu snap packages by default.

As you can see in the picture above, if you run the command, it throws an error saying the “snapd package is missing or has been obsolete”, “Package snapd is not available” and “Package snapd has no installation candidate.”

If you want to know the reason for dumping snap support, you can read this article. Clem Lefebvre, head of the Linux Mint project, has mentioned that the chromium snap package acts as a backdoor and installs the Ubuntu store without user consent.

Enable Snap on Linux Mint 20

To enable snap on Linux Mint 20, you can do either of two things:

1) Just delete the nosnap.pref file in the directory /etc/apt/preferences.d by running the command:

sudo rm /etc/apt/preferences.d/nosnap.pref

2) Comment the three lines of code in the same file:

Package: snapd
Pin: release a=*
Pin-Priority: -10

How to Install Snapd on Linux Mint 20

Now, install snapd:

sudo apt install snapd
How To Install Snapd On Linux Mint 20

Then, any snap apps:

sudo snap install <app-name>

You are done.

Team Linuxiac
Team Linuxiac


Leave a Reply

Your email address will not be published. Required fields are marked *