HomeHow ToInstall Google Chrome on CentOS 7

Installing Google Chrome on CentOS 7

Those of you who use the distribution will know that Google Chrome (unfortunately) no longer supports the most famous commercial RHEL 6.x distribution – RHEL 7 and its free clones, such as CentOS and Scientific Linux.

Below we will see how you can install Google Chrome on the CentOS 7 distribution:Google Chrome

First, we will use a script written by Richard Lloyd. The script will download and install the latest version of Google's browser, while also selecting and installing the required libraries in /opt/google/chrome/lib.

Open the terminal and run the following commands (3) as root:

wget https://chrome.richardlloyd.org.uk/install_chrome.sh
chmod u+x install_chrome.sh
./install_chrome.sh

That was….

To run the browser, type the command in a new terminal (as a regular user)

Google Chrome

To upgrade Google Chrome, run one of the following commands:

yum update google-chrome-stable

or

./install_chrome.sh

To uninstall Chrome, run the command

yum remove google-chrome-stable

or

./install_chrome.sh -u

Bonus Tip:
In case you see the following error when trying to run the browser,Installing Google Chrome on CentOS 7run the following command via terminal as root

chmod 777 /dev/shm

____________________

Update:
To keep permissions at 777 and avoid having to constantly run the last command to open Chrome, do the following:

nano /etc/rc.local

Add the above command

chmod 777 /dev/shm

Press CTRL+X together, then Y and Enter to save.

Finally, run the following command:

chmod +x /etc/rc.d/rc.local

Installing Google Chrome on CentOS 7

📧
Subscribe to the SecNews Newsletter

The most important Security & Technology news in your Inbox.

SecNews
SecNewshttps://www.secnews.gr
In a world without fences and walls, who needs Gates and Windows

SEARCH

FOLLOW US

📧
Newsletter SecNews
The most important Security & Technology news in your inbox.

LIVE NEWS