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

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

Did you find this article helpful? Fuel my creativity - keep me caffeinated. A little coffee goes a long way in supporting my work.

Buy me a coffee!


Leave a Reply

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