Wednesday, February 21, 2024
How to remove SNAP from ubuntu
The package is not called snap, but instead is snapd.
You will want to do
sudo apt autoremove --purge snapd
After that, run the following command so that Ubuntu does not automatically install snapd as an update.
sudo apt-mark hold snapd
Additional comments:
Ubuntu 22.04 has Firefox as a snap app, as a part of the default installation. If you try sudo apt install firefox, it will reinstall snap without asking you. Follow this answer to install Firefox as an apt package.
Also, since removing snap will also remove snap-store, you may want to install gnome-software as a GUI app store.
sudo apt install gnome-software --no-install-recommends
--no-install-recommends ensures that it will not pull snap plugin once again.
To prevent Ubuntu from automatically reinstalling snapd in future, see this answer
Subscribe to:
Posts (Atom)