How to Install Chromium Browser via .deb in Ubuntu 20.04

June 22, 2020 — 37 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

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]

37 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
      If there won’t be other way, I’ll pass it to

      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!

  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.

  19. Installed the latest version (85.0.4183.121) earlier today and everything has been working well so far. Thank you so much and keep up the excellent work!

  20. this solution did work on Xubuntu 20.04 LTS! thx for the advice

  21. Evgen, looking forward to version 86. Thank you very much for all the hard work!

  22. I have a really strange problem with the latest build. While watching a YouTube video if I select and then drag & drop (for example to the address bar) any text on that page it messes up the hardware acceleration. Can anyone else reproduce?

  23. Hi Evgen,

    Does your PPA Chromium Browser VAAPI also works on Amlogic Arm64 with Mali G52 GPU instead of Intel or AMD GPU?

  24. Hi,

    Don’t seem to be able to start Chromium with VAAPI. OS is Ubuntu 20.04.1 Kernel 4.9.224. I notice in the Synaptic Package Manager, there is “libva2”, “libva-drm2”, “libva-X11-2” installed but NO “libva”. I have uninstall “libva-Wayland2”.

    Would appreciate assistance in getting Chromium with VAAPI running. Below are the error output.

    $ chromium-browser –use-gl=desktop
    libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
    [5522:5522:1030/] vaInitialize failed (ignore if using Wayland desktop environment): unknown libva error
    [5522:5522:1030/] Could not get a valid DRM VA display
    [5522:5522:1030/] Exiting GPU process due to errors during initialization
    [5557:5557:1030/] Could not get a valid VA display
    Fontconfig error: Cannot load default config file: No such file: (null)

  25. Latest version 86 uploaded for 20.04. Previously I just copied 18.04 rebuilds but Bionic uses old libva version which is now incompatible with some 10-bit video formats and I have to apply workarounds. But there’s actually good news. Thanks to saiarcot895 ppa I figured out how to produce proper builds for 20.04! There were few requests for ARM64. Unfortunately I don’t have such device to test it but at least previous build for 18.04 finished succesfully.

  26. Just to let you know, video acceleration doesn’t work with the latest build (v86).

  27. chrome://gpu/
    Video Decode: Software only. Hardware acceleration disabled

    Hardware-accelerated video decode: Enabled

    • Thanks.
      I guess that info is wrong (not sure why it happens but probably need to use other patch to enable VAAPI by default)
      actually shows that we’re using HW decoder
      and if you disable “Hardware-accelerated video decode” in chrome://flags/
      you’ll see
      FFmpegVideoDecoder or something else

      • P.S. Found patch “Check for enable-accelerated-video-decode on Linux” at AUR. Description confirms that on v86 chrome://gpu page could be misleading.

  28. Thanks Evgen for the reply but that’s not the case for me. Under ‘chrome://media-internals’ it shows ‘FFmpegVideoDecoder’ with ‘Hardware-accelerated video decode’ in ‘chrome://flags/’ enabled.

    CPU usage is heavy while playing YouTube videos. Is there anything that could be done about it?

    By the way, v87 is out, I hope you’ll do your magic on it too, and soon.

    Thank you once again.

    P.S. I want to express my gratitude to Ji m for letting us communicate here. But there has to be a better way. Is there a place (like GitHub or GitLab) where we can comunicate with you more efficiently?

  29. I have installed v87 and hardware acceleration is working again! Thank you so much Evgen, keep up the excellent work!

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>