purgesnap.sh (337B)
1 #!/bin/sh 2 3 # script for replacing snap with flatpak on Ubuntu 4 5 echo "replacing snap with flatpak and adding flathub repo" 6 sudo apt install flatpak gnome-software-plugin-flatpak 7 flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo 8 sudo apt remove snapd gnome-software-plugin-snap && sudo apt autoremove