Non-Snap Firefox in latest Ubuntu-based distributions
How to remove the tragedy that is Snap and install a normal Firefox on Ubuntu and its flavors.
- Read which software programs are installed:
snap list
- Then remove them, e.g.:
sudo snap remove firefox
sudo snap remove gtk-common-themes
sudo snap remove gnome-3-38-2004
sudo snap remove core20
sudo snap remove bare
sudo snap remove snapd
- Check:
snap list
- If needed, find and unmount the mount points (on
/snap/core/
):
df
sudo umount /snap/core/xxxx
- Remove Snap:
sudo apt purge snapd
Install the non-Snap normal Firefox:
Just download the thing with Lynx:
lynx https://ftp.mozilla.org/pub/firefox/releases/
Depending on the version, download
https://ftp.mozilla.org/pub/firefox/releases/[version]/linux-x86_64/en-US/*.tar.bz2
; extract the folder, then:
cp -Rp firefox /usr/lib/
sudo ln -s /usr/lib/firefox/firefox /usr/bin/firefox
This also installs the updater. Firefox will update itself like in Windows.
- Example for Xfce: create the launcher for the menu:
- Copy e.g.
/usr/share/applications/xfce4-web-browser.desktop
(Web Browser) to the desktop. - Edit it to be a firefox launcher.
- Use the icon
/usr/lib/firefox/browser/chrome/icons/default/default64.png
- Then move it to the appropriate location:
- Copy e.g.
sudo mv firefox.desktop /usr/share/applications/
sudo chown -R root /usr/share/applications/firefox.desktop
sudo chgrp -R root /usr/share/applications/firefox.desktop