Install Google Chrome in CentOS 7

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

Below we will see how to install Google Chrome in 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 choosing and installing the libraries they need on / opt / google / chrome / lib.

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

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

That's it….

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

google-chrome

To upgrade Google Chrome, run one of the following commands

yum update google-chrome-stable

ή

./install_chrome.sh

For Chrome run the command

yum remove google-chrome-stable

ή

./install_chrome.sh -u

Bonus Tip:
If you see the error below when trying to run the browser

Run the following command via terminal as root

chmod 777 / dev / shm

____________________

Update:
To keep the permissions on 777 and do not need to run the last command to open Chrome at all times, do the following:

nano /etc/rc.local

Add the above command

chmod 777 / dev / shm

Press CTRL+X together, then Y and for storage.

Finally, run the following command:

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

iGuRu.gr The Best Technology Site in Greeceggns

Get the best viral stories straight into your inbox!















Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).