How to install Google Chrome on Linux

Google Chrome is a free web browser based on WebKit layout rendering engine. Since its public release in 2008, Google Chrome has steadily grown its user base, and now it drives approximately one-third of all web browsing activities worldwide, largely thanks to its lightning fast speed and strong security protection. If you would like to install Google Chrome on Linux, you can follow these instructions below.

Install Google Chrome on CentOS, Fedora or RHEL

First you need to add the official yum repository for Google Chrome:

$ sudo vi /etc/yum.repos.d/google.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Note that the yum repository configuration in the above is for 32-bit systems. If you are running a 64-bit Linux system, replace the url in "baseurl" field with the following.

baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64

Finally, install Google Chrome with yum as follows.

$ sudo yum install google-chrome-stable

Install Google Chrome on Ubuntu or Debian

First you need to install all the prerequisite packages as follows.

$ sudo apt-get install libnspr4-0d libnss3-1d libxss1 libcurl3 libgconf2-4

Now download a Google Chrome .deb package from Google. If you are running a 32-bit system, the package will be google-chrome-stable_current_i386.deb, while on a 64-bit system, it will be google-chrome-stable_current_amd64.deb.

Finally, install Google Chrome with dpkg as follows.

$ sudo dpkg -i google-chrome-stable_current_xxxx.deb

Subscribe to Xmodulo

Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.

The following two tabs change content below.
Dan Nanni is the founder and also a regular contributor of Xmodulo.com. He is a Linux/FOSS enthusiast who loves to get his hands dirty with his Linux box. He likes to procrastinate when he is supposed to be busy and productive. When he is otherwise free, he likes to watch movies and shop for the coolest gadgets.
Your name can also be listed here. Write for us as a freelancer.

Leave a comment

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