martedì 5 febbraio 2019

Install Chrome stable version on CentOS 7.x

Hi Folks,
When you work with NODEJS it's tipical to add chrome to your software bag.

In some cases when create a unix image you works on CentOS, yum doesn't support immediatly the installation of a stasble version of chrome.

The configuration is easy.

Create a file called /etc/yum.repos.d/google-chrome.repo and add the following lines of code to it:

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

Check whether the latest version available from the Google’s own repository using following yum command:
 
yum info google-chrome-stable

Let’s install it using yum command as shown below, which will automatically install all needed dependencies:

yum install google-chrome-stable 

Nessun commento:

Posta un commento