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

Linux Mint 20 block installation of Ubuntu Snap packages by default. Find out how to enable Snap support on it.

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) First, delete theย “nosnap.pref”ย file in the directoryย “/etc/apt/preferences.d”ย by running the following command:

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

2) Then, comment the three lines of code in the same file:

Package: snapd
Pin: release a=*
Pin-Priority: -10Code language: HTTP (http)

How to Install Snapd on Linux Mint 20

Now, installย snapd:

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

And finally, any snap apps:

sudo snap install <app-name>Code language: HTML, XML (xml)
Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

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?

The average score is 69%