Wednesday, September 7, 2022

Remove Snap Apps and Daemon on Kubuntu 22.10

Removing snap apps and snapd frees lot of space on HDD => + 10 GB of free space. Also it eliminates lot's of annoying mount points listed in Krusader => Ctrl+M.

snap list

sudo snap remove --purge firefox // and other applications

sudo snap remove --purge snapd

sudo apt autoremove snapd

sudo apt purge snapd // final step!!!

sudo rm -rf ~/snap /snap /var/snap /var/lib/snapd // remove associated folders


sudo nano /etc/apt/preferences.d/nosnap.pref // block snapd install - didn't work out

# To prevent repository packages from triggering the installation of snap,

# this file forbids snapd from being installed by APT.

Package: snapd

Pin: release a=*

Pin-Priority: -10

https://linuxhint.com/turn-off-snap-ubuntu/

https://hackaday.com/2020/06/24/whats-the-deal-with-snap-packages/

Free disk space on Linux system

No comments:

Post a Comment