How To Remove Snap From Ubuntu

How To Remove Snap From Ubuntu

Snap handles package installation, deployment, and removal of software on Linux distributions, as does ‘apt’. In fact, Snap is a better alternative proposed from apt. This is praised by Canonical and Ubuntu as the best package management and installation repository on Linux. To be fair, it does have several advantages. For example,

  • Snap packages are updated automatically
  • Dependency bundled in a snap package. So, there is no additional installation
  • The snap application works in a sandbox environment
  • The most popular apps from major publishers such as KDE, Microsoft, Google are at a glance

Problems with snap

The Linux community has discussed Canonical’s urge to take pictures and the problems associated with it. All this instant debate has resumed after Ubuntu 20.04 was launched.

The latest Ubuntu variant ships with an empty Chromium package. This package is empty, and acts, without your consent, as a back door 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. See the screenshot below.


It obviously takes a snap package when it commands to the apt package.

In addition, there are many fundamental problems with Snap. The Snap package requires a lot of time to install and even launch. Also, the snap package requires more space, doesn’t match your Ubuntu theme, and isn’t always official. If you want to avoid all of these snap, completely removing the snap repository from Ubuntu will be a good choice, and this is how you do it.

How To Remove Snap From Ubuntu

Before we start deleting snap, you need to check if you have the snap package installed on your system. To check which snap package is installed, run the following command.

snap list


If you get an output like the one above, we are good to continue. If you find an installed package under the snap list, you must delete it using the following command.

sudo snap remove --purge package-name

package-name “must be removed with the actual package name installed. We also have a detailed guide on how to uninstall applications from Ubuntu.

First of all, we need to clear the snap cache.

sudo rm -rf /var/cache/snapd/


When finished, we can uninstall 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


Next, we can delete snap settings and preferences from your home directory

rm -fr ~/snap

Now, these commands will delete the snap repository from your machine and even the Ubuntu software center. Henceforth, you will not have a recommendation snap package and no suggestions. Once again, if you try to install the Chromium browser, Ubuntu will now ask you to download snap as a package dependency.


So, you should download Chromium from the Debian repo. However, this will eliminate automatic updates from the Chromium browser but it will definitely make it easy for you. For more problems or questions, let me know in the comments below.

Related posts

How to Set Up Automatic Kernel Updates on Linux


How to Install Nginx with PHP and MySQL (LEMP Stack) on Ubuntu 20.04 LTS


How to Install Microsoft TrueType Fonts on Fedora


How to Install Atom Text Editor on Ubuntu 20.04


How to Install Puppets on CentOS 8 / RHEL 8


How Linux makes data recovery easy


How to Install Apache ActiveMQ on Debian 10


How to Install Apache Cassandra on CentOS 8


How to Upgrade to Ubuntu 20.04