How to Install Google Chrome on CentOS 6.3

Google Chrome, known for its lightweight and speedy performance, is an alternative browser that merges a sleek design with advanced technology to make web navigation faster, safer, and more user-friendly. It’s not just designed for Windows operating systems, but also for CentOS and other Linux operating systems.

This guide will walk you through the process of installing Google Chrome on CentOS 6.3.

Step 1: Preparing the Repository

The first step in installing Google Chrome on CentOS 6.3 involves preparing the repository. You’ll need to access the repository file by entering the following command:

[root@CentOS6 ~]# vi /etc/yum.repos.d/google-chrome.repo

Next, you’ll need to add specific lines of code to the google-chrome.repo file. The code you’ll add will depend on whether you’re using CentOS 32 Bit or CentOS 64 Bit.

For CentOS 32 Bit, add the following:

[google-chrome]
name=google-chrome - 32-bit
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

For CentOS 64 Bit, add the following:

[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Step 2: Installing Google Chrome Stable Version

Once you’ve prepared the repository, you can proceed to install the stable version of Google Chrome. You can do this by entering the following command:

[root@CentOS6 ~]# yum install google-chrome-stable -y

After running this command, the system will start the installation process. Once completed, you will have successfully installed Google Chrome on CentOS 6.3.

See also  How to Get More Info About Password Aging Using "Chage" Command on Linux

Commands Mentioned

  • vi /etc/yum.repos.d/google-chrome.repo – Opens the google-chrome.repo file
  • yum install google-chrome-stable -y – Installs the stable version of Google Chrome

Conclusion

Installing Google Chrome on CentOS 6.3 is a straightforward process that involves preparing the repository and running the installation command.

By following the steps outlined in this guide, you can enjoy the benefits of Google Chrome’s speed, security, and user-friendly interface on your CentOS system.

FAQs

  1. What is the purpose of preparing the repository?

    Preparing the repository is crucial as it sets up the necessary environment for the installation of Google Chrome. It involves adding specific lines of code to the google-chrome.repo file, which allows the system to recognize and validate the source of the Google Chrome package.

  2. Why do we need different codes for 32 Bit and 64 Bit CentOS?

    The different codes for 32 Bit and 64 Bit CentOS point to different versions of the Google Chrome package that are optimized for the respective system architectures. It’s important to use the correct code to ensure compatibility and optimal performance.

  3. What does the ‘yum install google-chrome-stable -y’ command do?

    The ‘yum install google-chrome-stable -y’ command instructs the system to install the stable version of Google Chrome. The ‘-y’ option allows the process to proceed without requiring user confirmation for each step, making the installation process smoother and faster.

  4. What is the benefit of installing Google Chrome on CentOS?

    Installing Google Chrome on CentOS provides a fast and reliable browsing experience. Google Chrome is known for its speed, security, and user-friendly interface, making it a preferred choice for many users. Additionally, it supports a wide range of extensions, which can enhance functionality and productivity.

  5. Can I install other versions of Google Chrome using this method?

    Yes, you can install other versions of Google Chrome using this method. However, you would need to replace ‘google-chrome-stable’ with the appropriate package name for the version you wish to install. It’s recommended to install the stable version for regular use due to its tested and verified stability.

Comments

2 Comments

  • Avatar Christopher Komuves says:

    This just gives me a core dump.  I did EXACTLY this on a fresh CentOS install (in a Parallels VM), and here’s what I got…

    [root@centos yum.repos.d]# yum install google-chrome-stable -yLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: http://ftp.osuosl.org * extras: centos.mirrors.tds.net * updates: centos.aol.comgoogle-chrome                                                                    |  951 B     00:00     Not using downloaded repomd.xml because it is older than what we have:  Current   : Wed Jan 23 17:16:39 2013  Downloaded: Wed Jan 23 17:16:07 2013Segmentation fault (core dumped)[root@centos yum.repos.d]# 

  • Avatar None says:

    Doesn’t work.
    Too many failed dependencies.

Leave a Reply

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