How to Remove Snap From Ubuntu 20.10
Snap handles the package installation, deployment, andremoval of softwareon Linux distributions, just like ‘apt’. In fact, Snap is a proposed better alternative of apt. It’s been hailed by Canonical and Ubuntu as the best package management and installation repository on Linux. To be fair, it does have a few advantages. For instance,
Problems with snap

The Linux community has been discussing Canonical’s push for snap and the issues with it. This entire snap debate has again started after theUbuntu 20.04 launch.
The latest Ubuntu variant ships with anempty Chromium package. The package is empty, and acts, without your consent, as a backdoor by connecting your computer to the Ubuntu Store. In simple words, if you do a simple “sudo apt install chromium-browser”, it executes the command and installs the snap package instead of the Debian one. More importantly, without your consent. Have a look at the screenshot below.

It clearly fetches the snap package when the command is for an apt package.
Moreover, there’s been a lot of underlying problems with Snap. Snap packages take a lot of time to install and even launch. In addition to that, snap packages take up a lot more space, don’t match yourUbuntu theme, and aren’t always official. In case you want to avoid this whole snap thingy, removing the snap repository from Ubuntu completely would be a good option, and here’s how you do it.

How to Remove Snap From Ubuntu
Step 1: Check for installed snap packages
Before we begin to remove snap, you need to check if you have snap packages installed in your system. To check for snap installed packages, run the following command.

Read:Best Browsers For Ubuntu You Should Try in 2020
Step 2: Remove snap packages
In case you get an output like above, we are good to proceed. If you find packages installed under snap list, you’d have to remove them by using the following command.

“package-name” needs to be removed with the actual installed package name. We also have a detailed guide on how touninstall applicationsfrom Ubuntu.
First of all, we need to clear the snap cache.
Step 3: Uninstall snap and snap GUI tool
Once done, we can remove the snap package as well as the snap GNOME plugin. To do that, run the following command.
Step 4: Clear snap preferences
Next, we can clear the snap settings and preferences from your home directory
Now, these commands will remove the snap repository from your machine and even the Ubuntu software center. Henceforth, you won’t have snap package recommendations and neither suggestions. Again, if you try to install the Chromium browser, Ubuntu would now ask you to download snap as a package dependency.
Step 5: Put snap on hold
After we have uninstalled snap and all its preferences, you may put the snap package on hold. Holding a package prevents it from being installed or upgraded automatically. You know, just in case, like chromium.
Closing Words
So, you would be better off downloading Chromium from theDebian repo. However, this would eliminate the auto-update of the Chromium browser but would surely keep you off snap. For more issues or queries, let me know in the comments below.
Also Read:How to Ungroup Windows in “Alt-Tab” in Ubuntu
Pratik works as an In-house writer and video host at TechWiser. Former Programmer, Current writer. Loves tech in any form, quite optimistic about AI, data science and IoT. Talks extremely less but you betcha can geek out over anything on Twitter.