Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 4271  / 1 Year ago, wed, may 10, 2023, 2:54:14

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.


More From » apt

 Answers
0

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:



  1. Open Terminal (if it's not already open)



  2. Create an apt source file for the Mint repository:


    For Ubuntu 20.04:


    echo "deb http://packages.linuxmint.com una upstream" | sudo tee /etc/apt/sources.list.d/mint-una.list

    For Ubuntu 22.04 (and newer):


    echo "deb http://packages.linuxmint.com vera upstream" | sudo tee /etc/apt/sources.list.d/mint-vera.list


  3. To prevent NO_PUBKEY you have to add the GPG key by this:


    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A1715D88E1DF1F24 40976EAF437D05B5 3B4FE6ACC0B21F32 A6616109451BBBF2


  4. Then update package lists by apt:


    sudo apt update


  5. Prevent 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
    EOF


  6. Install chromium:


    sudo apt install chromium


  7. Open chromium and check the About:
    Mint's Chromium in 20.04
    Note: You may want to change the landing page, which is all about Mint Una ?




This will give you what you're looking for ??


[#862] Thursday, May 11, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
freezidepu

Total Points: 394
Total Questions: 105
Total Answers: 118

Location: Libya
Member since Mon, Dec 7, 2020
3 Years ago
freezidepu questions
Tue, Apr 19, 22, 16:03, 2 Years ago
Fri, Nov 11, 22, 18:04, 2 Years ago
Sat, Mar 18, 23, 10:59, 1 Year ago
;