How to Install Chromium Browser via .deb in Ubuntu 20.04

June 22, 2020 — 5 Comments

Prefer installing Chromium browser via DEB rather than using SNAP package? Here’s how to install Chromium .deb package in Ubuntu 20.04 via PPA.

In Ubuntu 20.04, Chromium deb in the main repository is empty!! It will automatically install the containerized snap package when you trying to install it via apt command.

For those prefer Chromium in deb to in snap, there’s an unofficial PPA maintains the .deb packages for Ubuntu 20.04 with VAAPI support.

1.) Open terminal either from ‘Show Applications’ menu or by pressing Ctrl+Alt+T on keyboard.

When terminal opens, run command to add the PPA:

sudo add-apt-repository ppa:xalt7x/chromium-deb-vaapi

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2.) Run command to “pin” the PPA to avoid installation of snap package in Ubuntu 20.04:

NOTE 1: This is a single command though it has multiple lines, simply paste them to terminal (Ctrl+Shift+V) and hit enter.

NOTE 2: This step is optional at the moment as Chromium in main repository is old than version in this PPA.

cat <<EOF | sudo tee /etc/apt/preferences.d/pin-xalt7x-chromium-deb-vaapi
Package: *
Pin: release o=LP-PPA-xalt7x-chromium-deb-vaapi
Pin-Priority: 1337
EOF

3.) Finally run 2 commands to refresh package cache and install Chromium deb:!

sudo apt update

sudo apt install chromium-browser chromium-codecs-ffmpeg-extra

Once installed, search for and open the browser from ‘Show Applications’ menu and enjoy!

To Remove Chromium browser:

To remove the PPA, either go to Softwarew & Updates > Other Software or run command:

sudo add-apt-repository --remove ppa:xalt7x/chromium-deb-vaapi

And remove the rule you did in step 2 by running command:

sudo rm /etc/apt/preferences.d/pin-xalt7x-chromium-deb-vaapi

And remove Chromium browser deb package by running command:

sudo apt remove --autoremove chromium-browser

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

5 responses to How to Install Chromium Browser via .deb in Ubuntu 20.04

  1. Gabba Gabba Hey! June 25, 2020 at 9:42 pm

    First ungoogled-chromium and now this, slowly but surely hardware acceleration is coming to Linux via the patched stable Chromium browser.

    Thanks man, great post!

  2. just a heads-up July 1, 2020 at 2:26 pm

    In order to work properly regular Chromium is installed with “chromium-codecs-ffmpeg-extra” package. Please update your command like so:

    sudo apt install chromium-browser chromium-codecs-ffmpeg-extra

    Thank you and keep it up!

  3. Just to let you all know, if there are concerns about trust and safety – this PPA is pre-installed to the great Ubuntu MATE based respin “Li-f-e” (Linux for Education 20.04).

  4. Thanks. This installed nicely and appears to be fully functional on Mint 20 Cinnamon, based on Ubuntu 20.04. My question is whether the PPA will update Chromium from the installed repository on the regular schedule, or will it need manual reinstalls when Chromium updates are released. So far, a great contribution for Mint / Ubuntu users.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*