Ubuntu – Is it still possible to install Chromium as a deb-package on 20.04 LTS using some third-party repository

20.04aptchromiumpackage-managementsnap

It is known that Chromium browser is now shipped as deb "Transitional package – chromium-browser -> chromium snap".

But this maybe not expected for some users and they want to get normal deb-based version. How does this possible?

Best Answer

  • If you are concerned about security, the most proper way to get updated Chromium without untested third party patches and without snap in Ubuntu 20.04 is to use official builds from 18.04, which will be supported until 2023.

    For proper installation and future updates follow the steps.

    Enable bionic-updates repo:

    cat <<EOF | sudo tee /etc/apt/sources.list.d/bionic-updates.list
    # for deb-based chromium. Supported only 'til 2023
    # see also /etc/apt/preferences.d/chromium-deb-bionic-updates
    deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
    EOF
    

    Pin Chromium packages from this repo:

    cat <<EOF | sudo tee /etc/apt/preferences.d/chromium-deb-bionic-updates
    Package: chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra chromium-codecs-ffmpeg 
    Pin: release a=bionic-updates
    Pin-Priority: 900
    EOF
    

    And install packages:

    sudo apt update
    sudo apt install chromium-browser
    

    Et voilĂ ! Trusted and automatically updated environment without snap bastards.