Created
April 27, 2021 13:16
-
-
Save victorbnl/cee388bccd1cae14d04f370038d3e33d to your computer and use it in GitHub Desktop.
Uninstall snap on Ubuntu
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
#!/bin/bash | |
# Uninstall snap | |
apt-get autoremove snap | |
# Prevent snap from running again | |
echo -e 'Package: snapd\nPin: release *\nPin-Priority: -1' > /etc/apt/preferences.d/nosnap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment