Install Google Chrome on Arch Linux

28/12/2020
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.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Install Google Chrome on elementary OS

The web browser is a vital application for any operating system. Not because I really need it to work but we practically...
29/12/2020

Chrome 61 to block WoSign and StartCom credentials completely

Google’s upcoming release Google 61 browser is expected to untrust two of Chinese SSL providers “WoSign and...
28/12/2020

Install Google Chrome on RHEL8

This tutorial explains how to install Google Chrome with 2 commands only (wget and yum install) as an introduction to packages...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Mua proxy v4 chạy socks5 để chơi game an toàn, tốc độ cao ở đâu?
18/05/2024

Thuê mua proxy Telegram trọn gói, tốc độ cao, giá siêu hời
18/05/2024

Thuê mua proxy Viettel ở đâu uy tín, chất lượng và giá tốt? 
14/05/2024

Dịch vụ thuê mua proxy US UK uy tín, chất lượng số #1
13/05/2024

Thuê mua proxy Việt Nam: Báo giá & các thông tin MỚI NHẤT
13/05/2024