First, install the software in centos. to install the software using the yum command, you must add the software source node to the software source in the system, that is, in the directory. /etc/yum. repos. d/Under the CentOS-Base.repo file to make changes: Enter the Super User Su in the console and then use the command
vim /etc/yum.repos.d/CentOS-Base.repo
In the vim Editor, enter
i
Enter the editing status. move the cursor to the end and add the software source code.
After adding the software source code, Press ESC in the vim editor to enter the command mode and enter
:w:q
Save the modification and exit vim and return it to the console.
Install chrome in centos 6.x
Vim/etc/yum. Repos. d/CentOS-Base.repo
Add a node based on your system
32bit System
[google]name=Google - i386baseurl=http://dl.google.com/linux/rpm/stable/i386enabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
64bit System
[google64]name=Google - x86_64baseurl=http://dl.google.com/linux/rpm/stable/x86_64enabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
Then run the following command:
yum install google-chrome-stable
Stable version installation:
Yum install Google-chrome-stable:
The yum install Google-chrome-beta version is not stable:
Yum install Google-chrome-beta