Remove /snap directory

Ralf Mardorf kde.lists at yahoo.com
Tue Dec 13 06:14:26 UTC 2022


"SNAP

Directory where the snap is mounted. This is where all the files in your
snap are visible in the filesystem. All of the data in the snap is read-
only and cannot be changed.

Typical value: /snap/hello-world/27" -
https://snapcraft.io/docs/environment-variables

On Mon, 2022-12-12 at 22:40 -0500, Jeffrey Walton wrote:
> How do I delete the /snap directory?

There are countless explanations, such as


https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-10-and-20-04-lts/
. I would shutdown Ubuntu and boot a live Linux, mount Ubuntu by the
live Linux and remove the directory.

If you accidentally install transitional package such as
https://packages.ubuntu.com/lunar/chromium-browser you get snapd back,
so consider to hold the package after it is removed.

sudo apt-mark hold snapd




More information about the ubuntu-users mailing list