Created
July 5, 2022 20:12
-
-
Save robertkirkman/6975e42191b8c39f0b91be4a08cc0d08 to your computer and use it in GitHub Desktop.
Normal Pills for 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 | |
# replaces default Ubuntu 22.04 snap firefox with a | |
# mozilla official beta firefox ppa that does not | |
# mark snapd as any of its dependencies | |
# run as root | |
snap remove firefox | |
snap remove snap-store gnome-3-38-2004 gtk-common-themes | |
snap remove snapd-desktop-integration | |
snap remove core20 | |
snap remove bare | |
snap remove snapd | |
systemctl disable --now snapd.service snapd.socket | |
apt-get purge snapd | |
add-apt-repository ppa:mozillateam/firefox-next | |
cat <<EOF | tee /etc/apt/preferences.d/pin-mozilla-ppa | |
Package: * | |
Pin: release o=LP-PPA-mozillateam-firefox-next | |
Pin-Priority: 9999 | |
EOF | |
apt-get update | |
apt-get upgrade -y | |
apt-get install -y firefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just tested on Ubuntu 23.10, still works more or less the same, errors spurious, snap gone, firefox working