Install Google Chrome on Arch Linux

Install Google Chrome on Arch Linux
Google Chrome is one of the fastest and popular web browsers in the world. On distributions like Ubuntu, Debian, Red Hat Enterprise Linux (RHEL), CentOS, SUSE, OpenSUSE, Fedora, you can just go to the official website of Google Chrome, download an rpm or deb package file for your distribution, and install it with the package manager like yum, apt, aptitude, dnf etc. But the official website of Google Chrome doesn’t have any package for Arch Linux. So getting Google Chrome installed on Arch Linux is a little bit harder than usual. You need to perform a lot of additional steps that you won’t have to on other popular Linux distributions.

In this article, I will show you how to install the latest version of Google Chrome on Arch Linux. Let’s get started.

Though Google Chrome is not available for download on the official website of Google Chrome, the good news is that Google chrome is available on AUR (Arch User Repository). But to install Google Chrome from AUR you must have Git installed.

Git is available on the official Arch Linux repository. Just run the following command to install Git on Arch Linux:

$ sudo pacman -S git

Press ‘y’ and then press <Enter> to continue.

Git should be installed.

Now go to the official Google Chrome AUR repository at https://aur.archlinux.org/packages/google-chrome/  and you should see the following page as shown in the screenshot below.

Now right click on the Git Clone URL as shown in the screenshot below.

Select “Copy Link Location” from the menu as shown in the screenshot below.

Now open a Terminal and go to the Downloads/ directory on your users HOME directory with the following command:

$ cd ~/Downloads

Now you have to clone the AUR Google Chrome repository with Git.

Run the following command to clone Google Chrome AUR repo with Git:

$ git clone https://aur.archlinux.org/google-chrome.git

The Google Chrome AUR repository should be cloned as shown in the screenshot below.

Now if you list the contents of Downloads/ directory with the following command, you should see a directory ‘google-chrome’

$ ls

Go into the ‘google-chrome’ directory with the following command:

$ cd google-chrome/

If you list the contents of ‘google-chrome’ directory, you should see the following files as shown in the screenshot below.

Now you have to build a package file for pacman package manager from these files. It is really easy to do so as Arch Linux provides a command line utility called ‘makepkg’ for that purpose.

Run the following command to make a pacman package file:

$ makepkg -s

Press ‘y’ and press <Enter> to continue.

makepkg’ should download all the necessary files from the internet. It may take a while depending on your internet connection. In the screenshot below, you can see that ‘makepkg’ downloaded google-chrome-stable version 63 at the time of this writing. You may get a later version. But it’s all the same, don’t worry.

The package building process is running…

Once the package build process is complete, you should see something like this. If you list the contents of the google-chrome directory now, you should see a file google-chrome-63.0.3239.108-1-x86_64.pkg.tar.xz as marked in the screenshot below. This is the package that ‘makepkg’ created. By the time you read this article, the generated filename might change. Make sure, you adjust it as required.

Now run the following command to install the google-chrome-63.0.3239.108-1-x86_64.pkg.tar.xz package file using pacman package manager:

$ sudo pacman -U google-chrome-63.0.3239.108-1-x86_64.pkg.tar.xz

Press ‘y’ and then press <Enter> to continue.

The Google Chrome package should be installed.

 

Now go to the Application Menu of your Desktop Environment and look for google chrome. I am using GNOME3 desktop environment in this article. Once you find Google Chrome, just click on the famous Google Chrome icon.

You should see the following window as you’re running Google Chrome for the first time. If you wish to make Google Chrome your default browser, just leave the first checkbox marked. If you don’t want to send anonymous usage statistics and crash reports to Google, just uncheck the second checkbox. Once you’re done, just click on the blue “OK” button.

Google Chrome should start. Enjoy the internet as much as you like with Google Chrome now.

So that’s how you install the latest version of Google Chrome on Arch Linux. Thanks for reading this article.

Related Posts
Leave a Reply

Your email address will not be published.Required fields are marked *