[HowTo] Get rid of Snap in Zorin

Greetings,

You're like me don't like Snap for whatever reason(s) and want to remove it from your system? Look no further, this is how it is done.


With two commands you'll be Snap-free. But beware it will uninstall any snap installed application also.
The first command clear the snap cache.
The second command remove snap and snap applications.

sudo rm -rf /var/cache/snapd
sudo apt-get remove --purge snapd

Enjoy!!! :slight_smile:

5 Likes

Hi Strom,

I run
$ snap list

to check what I have as Sap on my system.
I got the following returned:

$ snap list
Name Version Rev Tracking Publisher Notes
core18 20210507 2066 latest/stable canonical✓ base
gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 145 latest/stable canonical✓ -
gtk-common-themes 0.1-52-gb92ac40 1515 latest/stable canonical✓ -
snapd 2.50.1 12057 latest/stable canonical✓ snapd
wine-platform-5-stable 5.0.3 16 latest/stable mmtrt -
wine-platform-runtime v1.0 220 latest/stable mmtrt -

Is it OK to remove them all?

1 Like

Yes, it won't break your system. Snap runs a system in the system in its own little bobble :stuck_out_tongue: So to remove them will not harm your "real" system.

1 Like

Thanks, Storm!

I just run the commands and no, the sky did not fall upon me :laughing:

PS
I think your way of adding [How to] to the tutorial is excellent! I did the same for my latest tutorial :slight_smile:

1 Like

why dont you like snap?

That would be a good title for a book.

3 Likes
  1. It takes more resources to run X,Y,Z application in snaps.
  2. It doesn't follow UI/theme/icons rules of your system eg. you have to manual set up custom icon for applications.
  3. It's slow.
2 Likes

thanks for replying, what about flatpak? Do flatpak applications have these side effects?

It is because some applications do not work as expected. Snap version of OnlyOffice cannot access our network printer, making it completely useless for us.

2 Likes

Or a chorus in a pop song :stuck_out_tongue:

Flatpak are not as bad as snap IMO, but if you the application you want have a .deb on their homepage I'll go with that instead or PPA.

owkay thanks

Is it because PPA can be behind compared with developer's version? I just remembered that I had to compile phpMyAdmin from source since Ubuntu PPA is several years behind.

Snap and flatpak also have shown some pretty serious security issues.

But for me, personally, the reason I abhor Snap is because of what it does and what it represents in FOSS.
Snap is a Broken Promise by Canonical that seeks to assert more control over the user and the users system. Not only does Snap sandbox its applications, locking everything out and making them difficult to troubleshoot, it also replaces other methods of installation, which is something Canonical Promised it would not do at the time of the release of Snap. Even now, if you use the Software Center, it will sneak Snaps in, offering no alternative.
It is due to this that the Zorin Group included the ability to check the source in their Zorin OS Software App.

Flatpak is about "half-snap" so I show it no mercy, either.

2 Likes

will flatpak take more resources to work than snap?

No, it does not. The way Snap works, and the way flatpak partially works, is that they promise to resolve dependency problems by including all packages it needs to run in the same manner that Windows installers do. This adds a lot of Bloat, however.
The main cause of missing dependency problems is in users trying to install OutDated Apps.

If I remove snap now, can I install it whenever I want in the future?

Yes you can install snapd using the reverse of the process to remove it:

sudo apt install snapd

noice

I was very happy to notice this "show the source" function in Zorin Software. I had some nasty surprises in past when I was using Ubuntu.

I must also add that Mint Linux does not include Snap as default. I also know that MXLinux does not have Snap either since it does not use systemd.

1 Like