non-snap Chromium on Mint 20

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
RustyD
Level 1
Level 1
Posts: 7
Joined: Sun Feb 19, 2017 1:56 pm

non-snap Chromium on Mint 20

Post by RustyD »

This is an FYI post, for those who may want to install Chromium on Mint 20 without resorting to re-enabling snap.
I've achieved this on a new install by following what was suggested here https://askubuntu.com/questions/1204571 ... thout-snap, but with some modifications.
This uses the Debian Buster repositories, so to add them to your Mint 20 installation:

Code: Select all

 $ sudo xed /etc/apt/sources.list.d/debian.list
And paste in the following text:

Code: Select all

deb http://ftp.debian.org/debian buster main
deb http://ftp.debian.org/debian buster-updates main
deb http://security.debian.org/debian-security buster/updates main contrib
And then add the signing keys for those repos:

Code: Select all

 $ 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
Then, before performing an apt update, you need to set the download priorities (is this called 'apt pinning'?) by creating another file:

Code: Select all

 $ sudo xed /etc/apt/preferences.d/chromium.pref
And paste in the following text:

Code: Select all

# Note: 2 blank lines are required between entries
Package: *
Pin: release a=focal
Pin-Priority: 500


Package: *
Pin: origin "ftp.debian.org"
Pin-Priority: 300


Package: *
Pin: origin "security.debian.org"
Pin-Priority: 300


# Pattern includes 'chromium', 'chromium-browser' and similarly named dependencies:
Package: chromium*
Pin: origin "ftp.debian.org"
Pin-Priority: 700
Now, with that done, you can install Chromium:

Code: Select all

 $ sudo apt update
 $ sudo apt install chromium
Once I'd 'fixed' the issues with the reference solution above, this only takes a couple of minutes. I had to change the security repo from that suggested in the original post, so it has involved a bit of guesswork on my part - but it seems to work. Others may be able to improve on this.
I hope this helps.
User avatar
racer-x
Level 5
Level 5
Posts: 551
Joined: Sun Oct 02, 2016 9:05 am
Location: Retired

Re: non-snap Chromium on Mint 20

Post by racer-x »

Word of warning: I was using Chromium in MX-Linux which is based on Debian Buster 10. After the last couple of updates, Chromium would often crash on various sites for no apparent reason. I got frustrated to the point that I uninstalled Chromium.

Good luck.
User avatar
antikythera
Level 11
Level 11
Posts: 3556
Joined: Thu Jul 02, 2020 12:52 pm

Re: non-snap Chromium on Mint 20

Post by antikythera »

Adding Buster repositories to Linux Mint 20 is going to come back and bite users at some point through dependency issues when lesser experienced users try installing other packages without checking the source of them. Not sure why the Mint tutorial recommends this method for Chromium either to be honest. Even setting priorities will not negate this eventuality.
RustyD
Level 1
Level 1
Posts: 7
Joined: Sun Feb 19, 2017 1:56 pm

Re: non-snap Chromium on Mint 20

Post by RustyD »

antikythera wrote:
Tue Jul 14, 2020 6:56 am
Adding Buster repositories to Linux Mint 20 is going to come back and bite users at some point through dependency issues when lesser experienced users try installing other packages without checking the source of them. Not sure why the Mint tutorial recommends this method for Chromium either to be honest. Even setting priorities will not negate this eventuality.
I hadn't seen that recommendation - do you have a link? My internet searches led me to the original post mentioned above, not anything in a Mint tutorial.
I posted my experience on here partially as a means to get feedback such as yours :)
User avatar
antikythera
Level 11
Level 11
Posts: 3556
Joined: Thu Jul 02, 2020 12:52 pm

Re: non-snap Chromium on Mint 20

Post by antikythera »

Sure it's here, use the pin priorities in the Mint guide, they are stricter than the ones you posted above:

https://linuxmint-user-guide.readthedoc ... omium.html
User avatar
I2k4
Level 5
Level 5
Posts: 710
Joined: Thu Feb 02, 2012 8:33 pm

Re: non-snap Chromium on Mint 20

Post by I2k4 »

There's been another thread on this for a while. The following PPA produced by Ji m for Ubuntu Handbook is installing and working nicely on my test LM20 Cinnamon install:

http://ubuntuhandbook.org/index.php/202 ... ntu-20-04/

However, the current Chrome browser running alongside it got updated via the Mint Update Manager a couple of days ago to version 83...116-1 while the above Chromium 83...97 did not update. That said, on MInt 19.x installs, Chromium still remains at 83 ... 61. There's a note about this in the Ubuntu Handbook directions.

So the status of the Ubuntu Handbook workaround re official Chromium upgrades isn't clear.
Last edited by I2k4 on Tue Jul 14, 2020 1:58 pm, edited 3 times in total.
TRUST BUT VERIFY any advice from anybody, including me. Mint/Ubuntu user since 10.04 LTS. LM20 64 bit XFCE (Dell 1520). Dual booting LM20 XFCE / Win7 (Lenovo desktop and Acer netbook).
User avatar
I do Mint
Level 2
Level 2
Posts: 60
Joined: Tue Sep 18, 2012 7:44 am
Location: Netherlands
Contact:

Re: non-snap Chromium on Mint 20

Post by I do Mint »

I went for the most easy way on Mint Mate 20.
http://ubuntuhandbook.org/index.php/202 ... ntu-20-04/
Just notice you use the Pin-Priority command so you avoid installing the snap package.
(PPA is pre-installed to the Ubuntu MATE based respin “Li-f-e” (Linux for Education 20.04).)
Works like a breeze. :mrgreen:
Oh yes, I do Mint :)
RustyD
Level 1
Level 1
Posts: 7
Joined: Sun Feb 19, 2017 1:56 pm

Re: non-snap Chromium on Mint 20

Post by RustyD »

antikythera wrote:
Tue Jul 14, 2020 11:09 am
Sure it's here, use the pin priorities in the Mint guide, they are stricter than the ones you posted above:

https://linuxmint-user-guide.readthedoc ... omium.html
Thanks - appreciate that.
User avatar
mint-me
Level 3
Level 3
Posts: 146
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Re: non-snap Chromium on Mint 20

Post by mint-me »

I've been using the Buster version, installed per LinuxMint instructions - it works perfectly.
Linux Mint 20 XFCE 64bit - HP Notebook 15 BS143TU Intel® Core™ i5-8250U, 8GB DDR4 2400Mhz, Intel® UHD Graphics 620, 1366x768 15.6", 1 TB SATA
Post Reply

Return to “Software & Applications”