Remove Snap Ubuntu 22.04 LTS and 24.04 LTS

I came to post about this to, but you got to it first.

1 Like

@ben I was ready to switch back to Ubuntu. :rofl:

1 Like

Yeah, almost got me too lmao.

1 Like

-------->>>>>> SNAPS Suck !!!

3 Likes

No not at all. It’s considered a convenience because it gives easy access to packages not available via apt. As far as I’m aware that’s really the only advantage.

However, between the cache, and disk space use and strange presence when you type dr command I believe most find it too intrusive.

When you need to join Ubuntu to active directory some snapped applications stopped working correctly. this allowed me to solve those issues. THANK YOU THANK YOU THANK YOU

1 Like

I can’t agree more. -------->>>>>> SNAPS Suck !!!

Welcome! :handshake: Thanks for taking the time to confirm this still works.

I tried to remove snap from Ubuntu 22.04 LTS VM today. But its also removing ubuntu-server-minimal.

So I just disabled instead.

sudo systemctl disable snapd.service
sudo systemctl disable snapd.socket
sudo systemctl disable snapd.seeded.service
sudo systemctl mask snapd.service

Edit: updated for Ubuntu 24.04 LTS

2 Likes

@hydn your link broke :pensive_face: I was looking forward to reading that :nerd_face:

Ahh, it was an April Fool’s joke. So guess it was removed. The original domain looks like its been taken over as well. Let me delete that link.

I always solve broken or removed links with the Wayback Machine, haha. And indeed it was captured if still interested:

2 Likes

Happy belated April fools on both of us :joy:

1 Like

Ten months later and we see a slight drawback of snaps:

The whole centralization approach of the snap-store (all eggs in one basket) is backfiring now (because of a large DDOS attack).

No updates for the snappers, no updates for PPA users either.

One thing that APT teaches us: A distributed model is far more resilient.

6 Likes

@tkn post that on the other website and you’ll get a ruler across the knuckles!
:winking_face_with_tongue:

5 Likes

Has anyone been able to cleanly remove Snaps from Ubuntu 26.04 LTS?

1 Like

Yes !!! Every new install :partying_face: :smiling_face_with_three_hearts:

I wrote a script for that. It gives you total control

3 Likes

Nice! Can you share this in the Showcase category? I will allow users searching to find it easier. Or host it on GitHub and then link to GitHub from here.

Optional of course.

Also does this script work for 26.04 LTS only?

Yes, what is the best way to do that ?

No, I used it for 24.04 too

(b.t.w. I don’t have a github account)

2 Likes

@hydn Yes, done it , I reposted it in Showcase :slightly_smiling_face:

Here it is: Script to remove or reinstall snap(s) Ubuntu 26.04 / 24.04

1 Like

No worries on GitHub. Optional.

For posting add as a new topic in Showcase and paste the code/script there. Once posted I can edit if needed.

2 Likes