Based on https://askubuntu.com/questions/1204571/how-to-install-chromium-without-snap
- Remove existing firefox
sudo apt auto remove firefox
- Add Debian buster repository. Create a file /etc/apt/sources.list.d/debian.list with the following content:
deb http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian buster-updates main
deb http://deb.debian.org/debian-security buster/updates main
Add the Debian signing keys:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DCC9EFBF77E11517
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A
Configure apt pinning. Create a file /etc/apt/preferences.d/firefox.pref with the following content:
# Note: 2 blank lines are required between entries
Package: *
Pin: release a=eoan
Pin-Priority: 500
Package: *
Pin: origin "ftp.debian.org"
Pin-Priority: 300
Package: firefox*
Pin: origin "ftp.debian.org"
Pin-Priority: 700
Install firefox again
sudo apt update
sudo apt install firefox -y
so conclusion is just replace chromium
with firefox
✌️