Hello, there.
I’ve got Ubuntu Server 25.10 running on a Raspberry Pi 5 with 2 GB. So, maximizing the amount of free RAM is important.
I have no need of the Snap Store on a system I intend to use as a centralized log server, so I’d like to get rid of. Especially since it does seem to be using at least 36.93 MB of RAM at idle.
These are the steps I’ve found, but I have no idea if this is actually correct for Ubuntu Server 25.10:
- List all the snaps installed:
snap list - Remove every installed snap:
snap remove <package> - Remove
coresnaps (in order, not all are present on fresh install):snap-storegtk-common-themesgnome-system-monitorgnome-3-34-1804gnome-3-28-1804core18snapd
- Unmount the snap mount points:
umount /snap/core/{point}(Find list usingdf -h). Or:umount /var/snap - Remove
snapd:apt purge snapd - Remove related directories (if present):
~/snap;/snap;/var/snap;/var/lib/snapd - Prevent reinstallation
- Create
/etc/apt/preferences.d/nosnap.pref. - Add content and apply:
Package: snapd
Pin: release a=*
Pin-Priority: -10- Run
apt update.
- Create
Am I missing anything?
