How to Remove Snap From Ubuntu.
Snap performs installation, deployment and removal of software on Linux distributions just like “apt”. In fact, Snap is the best alternative to apt. Canonical and Ubuntu named it as the best repository for package management and installation on Linux. In all fairness, it has several advantages. For example,
- Snap packages are automatically updated.
- The dependencies are bundled into a Snap package. Thus, no additional installation is required.
- Snap applications run in a sandboxed environment.
- Most popular apps from major publishers like KDE, Microsoft, Google are in Snap mode.
The Linux community discusses Canonical’s drive for Snap and its associated issues. All of this sudden debate began again after the launch of Ubuntu 20.04.
The latest Ubuntu comes with an empty Chromium package. The package is empty and acts as a backdoor without your consent, connecting your computer to the Ubuntu Store. Simply put, if you run the simple command “sudo apt install chromium-browser”, it will execute the command and install the snap package instead of the Debian package. More importantly, without your consent. Take a look at the screenshot below.
It will explicitly extract the snap package when the command is for the apt package.
Moreover, there were many hidden problems with Snap. Snap packages take a long time to install and even run. Also, snaps take up a lot more space, don’t match your Ubuntu theme, and aren’t always official. If you want to avoid this whole snap-in thing, completely removing the snap-in repository from Ubuntu would be a good option, and here’s how you do it.
How to remove a Snap from Ubuntu
Before we start uninstalling the snap-in, you need to check if the snap-in packages are installed on your system. To check for packages installed instantly, run the following command. bind list
Read: Best Ubuntu Browsers You Should Try in 2020
If you get the same result as above, we are ready to proceed. If you find packages installed in the snap-in list, you will have to remove them using the following command. sudo snap remove –purge package-name
“PackageName” must be removed along with the actual name of the installed package. We also have a detailed guide on how to remove apps from Ubuntu.
First of all, we need to clear the binding cache. sudo rm -rf / var / cache / snapd /
After that we can remove the snap package as well as the GNOME Snap plugin. To do this, run the following command. sudo apt autoremove –purge snapd gnome-software-plugin-snap
We can then clear the snap settings and settings from your home directory rm -fr ~ / snap
These commands now remove the snap-in repository from your computer and even the Ubuntu software center. From now on, you will have no recommendations or suggestions. Again, if you try to install the Chromium browser, Ubuntu will ask you to download the snap-in as a package dependency.
So, you better download Chromium from the Debian repository. However, this will prevent the Chromium browser from automatically updating, but it certainly won’t give you an instant. If you have further problems or questions, let me know in the comments below.
Also Read: How to Ungroup Windows Using Alt-Tab in Ubuntu