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

Installing Google Chrome on CentOS 8

In this article, I am going to show you how to install Google Chrome web browser on CentOS 8. So, let’s get started. Downloading...
29/12/2020

How to Install Google Chrome on CentOS 7

Google Chrome is a web browser from Google. It is nice looking and integrates perfectly with Google services. Google Chrome...
29/12/2020

How to Install Google Chrome on openSUSE

Google Chrome is one of the top web browsers. In fact, Chrome has been the top browser for all the platforms for quite...
29/12/2020
Bài Viết

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

SỰ KHÁC BIỆT GIỮA RESIDENTIAL PROXY VÀ PROXY DATACENTER
17/02/2024

Mua Proxy v6 US Private chạy PRE, Face, Insta, Gmail
07/01/2024

Mua shadowsocks và hướng dẫn sữ dụng trên window
05/01/2024

Tại sao Proxy Socks lại được ưa chuộng hơn Proxy HTTP?
04/01/2024

Mua thuê proxy v4 nuôi zalo chất lượng cao, kinh nghiệm tránh quét tài khoản zalo
02/01/2024