Brief: A step-by-step beginner’s tutorial showing how to install Google chrome in Arch, Manjaro and other 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
Step 1: Install an AUR helper (if you haven’t got one 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:
yay -S google-chrome
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.
Keep in mind that unlike pacman, yay shouldn’t be run with “sudo” privilege.
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:
git pull makepkg -si