Install Google Chrome on CentOS
Since CentOS/RHEL 6 is an expired system, Chrome is no longer available. Although it was later caused by community protests, and thus changed the port, it was no longer mentioned that CentOS/RHEL 6 is an expired system. However, currently there is no Chrome download and use on CentOS/RHEL 6.
In fact, the root cause is not how old CentOS/RHEL 6 is. Chrome can be used even for Windows XP and Ubuntu 10.04 that stops updating. The actual reason is that due to various considerations, Chrome cannot continue to update Chrome on CentOS/RHEL 6 because it uses C ++ 11 not supported in CentOS/RHEL 6.
So what if I want to continue using Chrome before CentOS/RHEL 7 is available? Use Chrome's open-source version: Chromium.
1. Switch to root:
Su, su-, or sudo-I
2. download the new software source definition:
Cd/etc/yum. repos. d
Wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo
3. Install Chromium:
Yum install chromium
This completes the installation.
You can use the menu to start the browser:
After startup:
To view the Flash and PDF files, follow these steps to install the plug-in.
4. Install the Pepper Flash plug-in:
4.1 download the hughesjr installation script:
Cd/tmp
Wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_pepperflash_copy.sh
4.2 set chrome_pepperflash_copy.sh to execute:
Chmod + x chrome_pepperflash_copy.sh
4.3 execute the script for installation (you can check the script content to understand what happened ):
./Chrome_pepperflash_copy.sh
After the installation, if you need to start it through the command line (with Flash Support), you can enter the following command:
/Opt/chromium/chrome-wrapper % U -- ppapi-flash-path =/opt/chromium/PepperFlash/libpepflashplayer. so -- ppapi-flash-version = $ (grep '"version":'/opt/chromium/PepperFlash/manifest. json | grep-Po '(? <= Version ":")(? : \ D | \.)*')
Or
/Usr/bin/chromium-browser % U -- ppapi-flash-path =/opt/chromium/PepperFlash/libpepflashplayer. so -- ppapi-flash-version = $ (grep '"version":'/opt/chromium/PepperFlash/manifest. json | grep-Po '(? <= Version ":")(? : \ D | \.)*')
/Opt/chromium/chrome-wrapper % U this part is modified based on the actual startup Item address of your Google
You can also modify the corresponding commands in the system menu.
5. Install the Google Chrome PDF Viewer plug-in:
5.1 download the hughesjr installation script:
Cd/tmp
Wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_libpdf_copy.sh
5.2 set chrome_lib1__copy.sh to execute:
Chmod + x chrome_lib1__copy.sh
5.3 execute the script for installation (you can check the script content to understand what happened ):
./Chrome_lib1__copy.sh
For a 64-bit operating system, you can install the google browser and enable flash plug-in support using the following method:
1. Online Installation
# Yum installhttp: // restart
2. After installation, you can only run the browser on other users.
Application, Internet, Chromium, add to desktop, right-click browser icon attribute, basic, command, modify: /usr/bin/chromium-browser % U -- user-data-dir =/root/chrome
3. Create a directory/root/chrome
4. Double-click the desktop icon chromium browser to run it on the root.
5. install Adobe Flash Player Online
# Yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl
6. Enter chrome: // plugins/in the browser to open the plug-in page. There are two files in Adobe Flash Player (2 files). Close the first file (that is, the plug-in starting with/opt ), flash is available.