Skip to content

Instantly share code, notes, and snippets.

@akionsight
Created October 23, 2021 10:20
Show Gist options
  • Save akionsight/5437a7d334bce80a2d3f1622a1b2a765 to your computer and use it in GitHub Desktop.
Save akionsight/5437a7d334bce80a2d3f1622a1b2a765 to your computer and use it in GitHub Desktop.
A script to remove snap based firefox and install regular firefox on ubuntu 21.10 and above (if any)
echo -e "Script: removing the snap version of firefox \n"
sudo snap remove firefox
echo -e "\nScript: Temporarily stopping snapd (snap daemon)\n "
systemctl stop --now snapd
echo -e "\nScript: Installing (regular) firefox \n"
sudo apt install firefox
echo -e "\nScript: Enabling snapd\n"
systemctl start --now snapd
echo "Script: You may start firefox now"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment