How to Install Chromium Browser via .deb in Ubuntu 20.04

June 22, 2020 — 24 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 in 2007 and wish 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 via [email protected]

24 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.

  5. Worked perfectly on Mint Mate 20.
    Great post, thanks!

  6. this works good for intel gpu. but does not with Nvidia vdpau. is there any way to enable it also for nvidia?

  7. Thanks!
    I tried the way an “Expert” said to do it and that was a waste of time. Normally his website is good but it didn’t work. You way worked with out any problems. Thank you so much.

  8. Dan Whitehead July 25, 2020 at 7:56 pm

    Will this PPA automatically update Chromium?
    Dan W

  9. @Dan Whitehead July 26, 2020 at 7:15 pm

    Yes Dan, it will.

  10. sync working in this repo ?

    • Thanks for the reply. And i want to ask any update coming for this repo ? . Sry for bad english .

      • Maintainer here.
        I’m not planning to drop support but can’t promise anything. Releases mostly depend on Fedora patches and Ubuntu/Debian builds. If it will be dropped, I’m going to leave some information on PPA page.

  11. Hopefully yes but nobody knows that for sure except for the maintainer of the PPA. Let’s just wait and see…

  12. Hey Evgen, please don’t drop the support, your Chromium in deb format with VAAPI patch is the best thing since sliced bread!

    Thank you for all the hard work, it’s greatly appreciated, keep it up!

    • Currently Chromium 85 works for me only with launch flag
      –use-gl=desktop
      If there won’t be other way, I’ll pass it to
      /etc/chromium-browser/default

      Other good news: official Chrome 86 beta now allows to enable VAAPI
      Bad news: it doesn’t work for now. So untill Google fix it, I’ll try to rebuild Chromium
      When they fix their official build, I’ll probably drop PPA. For me VAAPI is the only reason to use customized Chromium build instead of Google Chrome.

  13. Thanks Evgen, every bit of information from you is greatly appreciated.

  14. Updated build with different patch
    There’s a chance that we’ll have VAAPI support on official Ubuntu builds!
    Please support bug report bellow on the link bellow!
    https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1894433

  15. Your bug report has just been supported.

    In other news, updated Chromium to version 85 via your PPA, everything works flawlessly.

    Thank you Evgen once again, and thank you Ji m for letting us know about the PPA in the first place.

    Community working together, this is THE strength of Linux.

  16. Thank You this works! Keep creating great content about Ubuntu! it’s really helpful. Thanks Again.

  17. Cannot add PPA: ‘ppa:~xalt7x/ubuntu/chromium-deb-vaapi’.
    ERROR: ‘~xalt7x’ user or team does not exist.

  18. Thanks.

    Works great in Linux Mint 20.

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> 

*