For reason unknown to me /var/lib/snapd/
remains littering my system after I have get rid of snap.
Is it safe to remove that folder?
For reason unknown to me /var/lib/snapd/
remains littering my system after I have get rid of snap.
Is it safe to remove that folder?
Snap can be safely removed from an Ubuntu install. The system directory /var/lib/snapd/
is solely used by the snap system, and thus can be safely removed if it was left behind after installation.
That the directory was not removed leads to suspect that you did not remove all snap packages before removing the snap software. In uninstall scripts, directories are left behind if they still contain data not installed by the .deb
software package, in this case snapd
.
Next time, use the autopurge
option as explained in this AskUbuntu answer to remove both the snapd
daemon and the installed snaps.
locate snap
. You may first have to installplocate
withsudo apt install plocate
and runsudo updatedb
to generate the database. – Archisman Panigrahi Feb 14 '24 at 23:50