- How to Install Google Chrome in Arch-based Linux Distributions
- Method 1: Installing Google Chrome with an AUR Helper
- Step 1: Install an AUR helper (if you haven’t got one already)
- Step 2: Install Google Chrome using AUR helper
- Step 3: Upgrading Chrome version with yay
- Method 2: Install Google Chrome without an AUR Helper
- Step 1: Install base-devel package
- Step 2: Install Chrome from AUR
- Step 3: Upgrading Google Chrome afterward
- Conclusion
- Arch Linux User Repository
- Latest Comments
- georgewoodall82 commented on 2023-07-09 14:34 (UTC)
- joaobrlt commented on 2023-06-26 19:45 (UTC) (edited on 2023-06-26 19:45 (UTC) by joaobrlt)
- vikrend commented on 2023-06-08 17:50 (UTC)
- ollosh commented on 2023-06-08 17:01 (UTC)
- dr1fter commented on 2023-06-08 06:02 (UTC)
- xxxxp commented on 2023-06-06 03:17 (UTC)
- juangiordana commented on 2023-06-02 11:18 (UTC) (edited on 2023-06-02 11:39 (UTC) by juangiordana)
- gromit commented on 2023-06-02 10:22 (UTC)
- juangiordana commented on 2023-06-02 10:00 (UTC)
- Ildar commented on 2023-05-24 07:43 (UTC) (edited on 2023-05-24 07:46 (UTC) by Ildar)
- How to Install Google Chrome in Arch Linux
- Let’s learn together on YouTube!
- 1. Make Sure You Have the Right Packages Installed
- 2. Download Google Chrome from the AUR
- More Steps
- Fewer Steps
- 3. Install the Package
- 4. Upgrading the Package
- 5. Other Methods to Install Google Chrome in Arch
- Install Yay
- Install Google Chrome with Yay
- Upgrade Chrome with Yay
- Summary
How to Install Google Chrome in Arch-based Linux Distributions
Google Chrome is undeniably the most popular web browser. It is not open source software and this is why you won’t see it preinstalled in Linux distributions you use. You won’t even find Chrome in the software center.
Installing Google Chrome is easy in Ubuntu and Fedora based distribution. You can go to Chrome’s website and download the DEB or RPM installer files and install it easily.
Arch Linux users may notice that there is no package for them on the official Google Chrome website.
Fortunately, Google Chrome is available on Arch User Repository (AUR) for Arch, Manjaro and other Arch-based Linux distributions. You can install Google Chrome using an AUR Helper easily or use Git to install it without AUR helper.
I will cover both options in this tutorial.
Method 1: Installing Google Chrome with an AUR Helper
I hope that you are familiar with the concept of AUR (Arch User Repository) and AUR helpers. If not, please read our articles on what is AUR and what are AUR helpers and how to install them.
Step 1: Install an AUR helper (if you haven’t got one already)
There are quite a few AUR Helpers to choose but in this tutorial, I will use yay which I have installed on my machine. You should install it if you haven’t got it already:
sudo pacman -S --needed base-devel git git clone https://aur.archlinux.org/yay-git.git cd yay makepkg -si
Step 2: Install Google Chrome using AUR helper
Now, to install Google Chrome in Arch Linux using yay:
As you see, yay found all the available packages related to Google Chrome. I will choose the stable package to install, the same as I chose for the other installation method.
Step 3: Upgrading Chrome version with yay
You successfully installed Chrome on your Arch-based distribution. However, you should also know what to do if there is a new version of Google Chrome available.
You cannot upgrade AUR packages with pacman command unfortunately. But the good thing is that Yay and pacman share common flags for performing similar actions.
The following command will upgrade all the packages – both AUR and official.
Method 2: Install Google Chrome without an AUR Helper
You’ll still be getting the package from Arch User Repository. However, instead of AUR helper, you’ll be doing it manually.
Step 1: Install base-devel package
To install a package from AUR you must have Git and base-devel group installed. Base-devel group contains all the essential tools for compiling from source.
sudo pacman -S --needed base-devel git
Step 2: Install Chrome from AUR
Clone Google Chrome from the AUR and install it like this:
git clone https://aur.archlinux.org/google-chrome.git cd google-chrome makepkg -si
Step 3: Upgrading Google Chrome afterward
When a new version of Google Chrome is released and it is available in the AUR, you can upgrade it manually like this:
Conclusion
As you can see, it is slightly complicated to install Google Chrome in the Arch domain. But that’s the beauty of it. Many people use Arch because it gets you doing more things in the terminal.
If you encountered any difficulty when you try to install Google Chrome, let us know at the comment section or share your thoughts.
Make sure to subscribe on our social media to get first the latest Linux news!
Arch Linux User Repository
When reporting this package as outdated make sure there is indeed a new version for Linux Desktop. You can have a look at the «Stable updates» tag in Release blog for this.
You can also run this command to obtain the version string for the latest chrome version:
$ curl -sSf https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages | \ grep -A1 "Package: google-chrome-stable" | \ awk '/Version/' | \ cut -d '-' -f1
Do not report updates for ChromeOS, Android or other platforms stable versions as updates here.
Latest Comments
georgewoodall82 commented on 2023-07-09 14:34 (UTC)
I think trusted should be removed from the description
joaobrlt commented on 2023-06-26 19:45 (UTC) (edited on 2023-06-26 19:45 (UTC) by joaobrlt)
Can confirm the behavior described by dr1fter. Since the last update, google-chrome is unresponsive after resuming from standby.
Existing web pages are displayed properly but the GUI is completely unresponsive (change tab, add a tab, etc.).
I use Manjaro, linux-61 (6.1.31-2), gnome-shell (1:44.1-3) and linux61-nvidia (530.41.03-13).
I will try to find the logs next time it happens.
vikrend commented on 2023-06-08 17:50 (UTC)
Dark mode is not working in last update
ollosh commented on 2023-06-08 17:01 (UTC)
Did anything happen recently with forcing dark theme in chrome? Every time I start chrome now all of the pages are dark when following system theme. I do have a light/dark theme switcher script for my setup, but when I check the flags with chrom://version they are correctly passed. Any ideas?
dr1fter commented on 2023-06-08 06:02 (UTC)
Since recently (I do not track google-chrome versions), google-chrome will be frozen for ~1m after resuming from standby ( systemctl suspend ). I saw this behaviour for many months (started about one year ago); then about two months ago, the bug was gone (now it’s there again).
The displayed webcontents are shown w/o any errors, however the GUI is fully unresponsive. If e.g. opening a new tab, this will happen after the application «thaws» after the mentioned ca. 1m. As a workaround, I tend to killall chrome (aka restart).
I run full system updates (pacman -Syu) daily, and update my AUR-packages about once a week. I use an NVIDIA graphics card w/ the non-free nvidia package.
xxxxp commented on 2023-06-06 03:17 (UTC)
hardware acceleration works again, thanks
juangiordana commented on 2023-06-02 11:18 (UTC) (edited on 2023-06-02 11:39 (UTC) by juangiordana)
Thanks for fixing it that quickly.
gromit commented on 2023-06-02 10:22 (UTC)
@juangiordana thanks for the suggestion, could you check that comments are respected with the latest version I just pushed?
I modified your diff a bit so that only lines are ignored where the # is at the start of the line 🙂
juangiordana commented on 2023-06-02 10:00 (UTC)
/usr/bin/google-chrome-stable does not strip commented lines as suggested in the Arch Wiki. https://wiki.archlinux.org/title/Chromium#Making_flags_persistent
-CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-flags.conf)" +CHROME_USER_FLAGS="$(grep -v '#' $XDG_CONFIG_HOME/chrome-flags.conf)"
Ildar commented on 2023-05-24 07:43 (UTC) (edited on 2023-05-24 07:46 (UTC) by Ildar)
Here is my changes in ~/.config/chrome-flags.conf to get working GPU acceleration again
— —use-gl=egl
+ —enable-gpu
Source: https://bugs.chromium.org/p/chromium/issues/detail?id=1412653
Copyright © 2004-2023 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.
How to Install Google Chrome in Arch Linux
Let’s learn together on YouTube!
So you want to install Google Chrome in Arch Linux. Great choice. Chrome is a fast, secure, cross-platform browser that’s awesome. I run Chrome in Linux to keep track of all my bookmarks, logins, and plugins across platforms. I regularly switch between Windows, Linux, and Mac, so it’s very convenient.
In minutes, you can install Chrome on your Arch Linux (Or Manjaro!) machine. I’m using Manjaro for the screenshots, but Arch Linux has the same steps.
Chrome is not open source and doesn’t come pre-packaged with Arch or Manjaro. You need to install and update Chrome manually. You use the AUR or Arch User Repository to do it. It sounds complex, but it isn’t.
The AUR version of Google Chrome is located here:
You can also install the beta versions:
The process is the same. Let’s jump in:
1. Make Sure You Have the Right Packages Installed
Before doing this, make sure you have the base development packages and Git installed:
sudo pacman -S --needed base-devel git
This is something I do on every Arch/Manjaro machine anyway.
2. Download Google Chrome from the AUR
There are a of ways to download the AUR package. I like to create a ~/src directory to manage these packages. I run everything out of that directory when installing or updating AUR packages.
Create a directory at the prompt, and follow these steps.
More Steps
You can use a tool like wget to download the tarball from the AUR.
wget https://aur.archlinux.org/cgit/aur.git/snapshot/google-chrome.tar.gz
tar xvzf google-chrome.tar.gz
and go into the folder created:
There are more steps here than in the next method I will show you. One advantage to doing this is, you can download the archive once, put it in a shared location and install it on multiple machines. This will save bandwidth from downloading it each time on each machine. You can automate this with bash easily.
For a single machine, I recommend the next method.
Fewer Steps
On your machine, clone the Google Chrome repository:
git clone https://aur.archlinux.org/google-chrome.git
It will download the files and be ready for installation. Go into the folder created:
3. Install the Package
4. Upgrading the Package
When it’s time to update, Chrome will show a nice little upgrade button.
It doesn’t work in Arch Linux. However, it lets you know it’s time to upgrade.
Updgrading from here on out is super easy. Just go into google-chrome directory and type in:
Again and you’ll have an updated Chrome! Super easy. You could even automate this.
5. Other Methods to Install Google Chrome in Arch
You can also use an AUR helper like Yay. Yay is fairly popular with Arch Users, but I don’t use it much. One of the reasons I use Arch is for simplicity and control. Using AUR packages directly, like I’ve shown above, is simple and fast. I don’t like introducing another package manager.
However, you may want to use a helper like Yay, which is pretty simple.
Install Yay
git clone https://aur.archlinux.org/yay-git.git cd yay makepkg -si
Install Google Chrome with Yay
Upgrade Chrome with Yay
Summary
In this tutorial, we learned how to install Google Chrome in Arch Linux a few different ways. Using AURs is easy when you get the hang of it. And much more predictable than using APT. It’s a few more steps, but at least you’re not compiling it from source code!
Questions, comments? Yell at me on Twitter
Want to learn more about Linux? Of course you do. Check out this Linux Fundamentals course. You can sign up for a free trial here and take it today!
Published: Dec 26, 2022 by Jeremy Morgan. Contact me before republishing this content.