In this tutorial, we will show you how to install and configure Google Chrome on CentOS 7. For those of you who didn’t know, Google Chrome is a freeware web browser developed by Google, that uses the WebKit layout engine. It is available for Linux, Android, iOS, Microsoft Windows, and Mac OS X operating systems. But Google Chrome is more than a web browser, as it combines sophisticated open source technology, borrowed from the Chromium application, into a minimal design, all in order to help users surf the web much faster, a lot easier, and safer than ever before.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of Google Chrome on a CentOS 7 server.
Prerequisites
- A server running one of the following operating systems: CentOS 7.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Google Chrome on CentOS 7
Step 1. First, let’s start to enable the Google YUM repository.
Run the following command (copy-paste all lines to console) to create /etc/yum.repos.d/google-chrome.repo
a file:
cat << EOF > /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome - $basearch baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub EOF
Step 2. Installing Google Chrome Web Browser.
So, let’s install it using yum
the command as shown below, which will automatically install all needed dependencies:
yum update yum install google-chrome-stable
Step 3. Accessing Google Chrome Web Browser.
Once the installation of google-chrome is complete you can start the Chrome browser from the GNU applications menu or from a command-line terminal by executing the following command:
google-chrome
Congratulations! You have successfully installed Google Chrome. Thanks for using this tutorial for installing the Google Chrome web browser control panel in CentOS 7 system. For additional help or useful information, we recommend you to check the official Google Chrome website.