How to install Chromium from the Linux Mint repositories in Ubuntu?
Matthew Harrington
I want to install Chromium from the Linux Mint repositories in Ubuntu 20.04, to avoid snap.
This answer describes how to install Chromium from the Debian repository.
However, the Linux Mint repository usually hosts an updated version of Chromium compared to Debian (as of 12th January 2022, LM 20 repository contains Chromium 97, whereas Debian 11 repository has Chromium 90), and also, Debian security team might soon discontinue maintaining Chromium.
01 Answer
There are a couple of steps required to make this work and, fortunately, it's not too crazy. Here's how you can do this:
Open Terminal (if it's not already open)
Create an
aptsource file for the Mint repository:echo "deb una upstream" | sudo tee /etc/apt/sources.list.d/mint-una.listTo prevent
NO_PUBKEYyou have to add the GPG key by this:sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A1715D88E1DF1F24 40976EAF437D05B5 3B4FE6ACC0B21F32 A6616109451BBBF2Then update package lists by
apt:sudo apt updatePrevent installation of other packages by pin-file:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-chromium Package: * Pin: release o=linuxmint Pin-Priority: -1 Package: chromium Pin: release o=linuxmint Pin-Priority: 1000 EOFInstall
chromium:sudo apt install chromiumOpen
chromiumand check the About:Note: You may want to change the landing page, which is all about Mint Una 😉
This will give you what you're looking for 👍🏻
4