Created
January 18, 2023 09:22
-
-
Save lao-tseu-is-alive/2ba1933b65f6558e0ef3afdd6f7c5ae9 to your computer and use it in GitHub Desktop.
Disable Snap on Ubuntu 22.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as root | |
snap list | |
systemctl disable snapd.service | |
systemctl disable snapd.socket | |
systemctl disable snapd.seeded.service | |
snap remove lxd | |
snap remove core20 | |
snap remove snapd | |
snap list | |
apt autoremove --purge snapd | |
rm -rf /var/cache/snapd/ | |
cd /root | |
rm -rf snap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
as explained here
https://askubuntu.com/questions/1345385/how-can-i-stop-apt-from-installing-snap-packages
to prevent future snap installation you can :