Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #snapSucks
- sudo systemctl disable snapd.service
- sudo systemctl disable snapd.socket
- sudo systemctl disable snapd.seeded.service
- sudo systemctl disable snapd.snap-repair.timer
- for i in `snap list`
- do
- sudo snap remove $i
- done
- sudo rm -rf /var/cache/snapd/
- sudo apt autoremove snapd
- rm -rf ~/snap
- #PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/$USER/.local/bin:/home/$USER/bin:/opt"
- sudo echo -e "PATH=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/$USER/.local/bin:/home/$USER/bin:/opt\"" > /etc/environment
- sudo echo -e "Package: firefox*
- Pin: release o=Ubuntu*
- Pin-Priority: -1" > /etc/apt/preferences.d/firefox-no-snap
- sudo add-apt-repository ppa:mozillateam/ppa
- sudo apt update
- sudo apt install firefox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement