Install Google chrome in Centos 6.6 and centoschrome
Firefox is always very slow, and sometimes it is false. After some searches on the Internet and various methods, the installation was successful.
1. Download
The following error is reported during browser installation on a google Website:
sudo rpm -ivh Downloads/google-chrome-stable_current_i386.rpm
[sudo] password for hakits:
warning: Downloads/google-chrome-stable_current_i386.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
libstdc++.so.6(GLIBCXX_3.4.15) is needed by google-chrome-stable-42.0.2311.90-1.i386
Create a file called/Etc/yum. repos. d/google-chrome.repoAnd 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
The same error is also reported.
You need to update and install g ++ ,:
Http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-4.8.1/gcc-4.8.1.tar.bz2
Gcc-4.8.1.tar.bz2 Decompress: Tar -jxvfgcc-4.8.1.tar.bz2 |
|
Download the required dependency packages for compilation:
Cd gcc-4.8.1
./Contrib/download_prerequisites
Create a directory to store the compilation result:
Mkdir gcc-build-4.8.1
Enter the new directory and run the configure command to generate the makefile: // only C ++ is compiled below:
Cd gcc-build-4.8.1
../Gcc-4.8.1/configure -- enable-checking = release -- enable-packages ages = c, c ++ -- disable-multilib
Compile: // it takes a long time. If it is a multi-core, you can add the number of CPUs you want to use after-j.
Make
Installation:
Make install
Check version after installation:
G ++ -- version
G ++ (GCC) 4.8.1
However, at this time,/usr/lib/libstdc ++. so.6 is still soft connection/usr/lib/libstdc ++. so.6.0.13
Remove the connection first:
Rm-rf/usr/lib/libstdc ++. so.6->/usr/lib/libstdc ++. so.6.0.13
Create a new connection:
Ln-s/usr/local/lib/libstdc ++. so.6.0.18/usr/lib/libstdc ++. so.6
View database:
strings /usr/lib/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBC_2.3
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
The same error is still reported during installation.
Finally find the method, download again: http://people.centos.org/hughesjr/chromium/6/i386/RPMS/
I chose: chromium-31.0.1650.63-2.el6.i686.rpm
Reference: 1
Since the speed of opening a webpage on linux is much slower than that on windows, I think I want to install chrome in a different browser. This process is quite complex and finally succeeded, record it first.
My system is centos6.4, 32-bit.
Problem: first from the official website up and down a google-chrome-stable-33.0.1750.146-1.i386.rpm, trying to install:
Rpm-I google *
Error Requires: libstdc ++. so.6 (GLIBCXX_3.4.15)
If the library is missing, view libstdc ++. so.6 under/usr/lib,
Strings/usr/lib/libstdc ++. so.6 | grep GLIBC
No GLIBCXX_3.4.15 is returned.
Ls-l/usr/lib/libstdc ++. so.6
/Usr/lib/libstdc ++. so.6->/usr/lib/libstdc ++. so.6.0.13 found
Libstdc ++. so.6 must be updated.
Yum updatelibstdc ++. so.6 or gcc
It is already the latest version, so it can only be downloaded from the Internet, but not necessarily from the Internet, then re-compile the gcc
(1) Compile gcc
Download the gcc 4.8.1 source code package:
The http://gcc.gnu.org/mirrors.html selects a Japanese image site from it because the download speed is fast and others are slow
From http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-4.8.1/ select
Gcc-4.8.1.tar.bz2 Decompress: Tar -jxvfgcc-4.8.1.tar.bz2 |
|
Download the required dependency packages for compilation:
Cd gcc-4.8.1
./Contrib/download_prerequisites
Create a directory to store the compilation result:
Mkdir gcc-build-4.8.1
Enter the new directory and run the configure command to generate the makefile: // only C ++ is compiled below:
Cd gcc-build-4.8.1
../Gcc-4.8.1/configure -- enable-checking = release -- enable-packages ages = c, c ++ -- disable-multilib
Compile: // it takes a long time. If it is a multi-core, you can add the number of CPUs you want to use after-j.
Make
Installation:
Make install
Check version after installation:
G ++ -- version
G ++ (GCC) 4.8.1
However, at this time,/usr/lib/libstdc ++. so.6 is still soft connection/usr/lib/libstdc ++. so.6.0.13
Remove the connection first:
Rm-rf/usr/lib/libstdc ++. so.6->/usr/lib/libstdc ++. so.6.0.13
Create a new connection:
Ln-s/usr/local/lib/libstdc ++. so.6.0.18/usr/lib/libstdc ++. so.6
Check the database:
Strings/usr/lib/libstdc ++. so.6 | grep GLIBC
The returned result contains GLIBCXX_3.4.15.
(2) install chrome
At this point:
Rpm-I google *
The same error is still reported, but the database already exists. No reason is correct.
Http://www.oschina.net/question/254443_115424
Find the problem. If the chrome version is incorrect, download it again:
Http://people.centos.org/hughesjr/chromium/6/i386/RPMS/
I chose chromium-31.0.1650.63-2.el6.i686.rpm
Rpm-I google *
After successful installation, click the application button to view the browser.
Reference: 2
Google ChromeIs a freeware web browser developedGoogle Inc. Google Chrome team proudly announced the releaseGoogle Chrome 41OnMarch 03,201 5. The actual version is41.0.2272.76ForLinux/Mac OS XAndWindowsOperating system. This new version bundled with a number of exciting fixes, features and improvements, including:
If you wowould like to know more other cool features of this release, please visit atGoogle's Chrome Features.
Install Google Chrome in Linux
In this tutorial we will show you how we have practically installedGoogle Chrome 41Browser in one of ourCentOS 1, 7.0Server usingGoogle'sOwn repositoryYumTool and a third party script fromRichard Lloyd, Which installlatest chrome version onRHEL/CentOSAndFedoraVersions.
By using Google's official repository you will keep yourChrome browserUp-to-date. However, it shoshould also work onRHEL 7.0/6.x,CentOS 7.0/6.xAndFedora 21-15Versions as well.
Step 1: Enable Google YUM repository
Create a file called/Etc/yum. repos. d/google-chrome.repoAnd 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
Step 2: Installing Chrome Web Browser
First, check whether the latest version available from the Google's own repository using following yum command.
# yum info google-chrome-stable
Check Google Chrome Info
Do you see the highlighted output in the above image, that clearly telling that the latest version of chrome is available from repository. So, let's install it usingYumCommand as shown below, which will automatically install all needed dependencies.
# yum install google-chrome-stable
Installing Google Chrome
Update: Sadly,Google ChromeBrowser no longer supports the most famous inclucial distributionRHEL 6.xAnd its free clones suchCentOSAndScientific Linux.
Yes, they 've discontinued supportRHEL 6.XVersion asGoogle ChromeAnd on other side, latestFirefoxAndOperaBrowsers run successfully on the same platforms.
Luckily, there is a script developed by Richard Lloyd, that automatically download and install latestGoogle ChromeBrowser by picking libraries from a more recent released distro and put those libraries in (/Opt/google/chrome/lib) Directory and then you can able to runGoogle ChromeOnRHEL/CentOS 6.xVersions.
# wget http://chrome.richardlloyd.org.uk/install_chrome.sh
# chmod u+x install_chrome.sh
# ./install_chrome.sh
Sample Output
Google Chrome Installer 6.10 on the i686 platform
(C) Richard K. Lloyd 2014 <rklloyd@gmail.com>
*** Creating temporary directory /tmp/chrome_install ...
*** Changing working directory to /tmp/chrome_install ...
*** Checking for an update to install_chrome.sh ...
*** Downloading version.dat (please wait) ...
--2014-11-21 23:59:04-- http://chrome.richardlloyd.org.uk/version.dat
Resolving chrome.richardlloyd.org.uk... 193.110.246.53
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5 [text/plain]
Saving to: “version.dat”
100%[=====================================================================================================================>] 5 --.-K/s in 0s
2014-11-21 23:59:09 (783 KB/s) - “version.dat” saved [5/5]
*** install_chrome.sh is already the latest version (6.10) - continuing ...
Richard Lloyd Google Chrome Script
Step 3: Starting Chrome Web Browser
Start browser with non-root user.
# google-chrome &
Welcome screen of Chrome web browser.
Welcome Google Chrome
Processing ingWww.tecmint.comWith cool Chrome web browser.
Browsing Google Chrome
About Google Chrome
Download Two Free Google Chrome eBooks
Google Chrome Cheat Sheet: This free ebook contains dozens of other helpful keyboard shortcuts that will help you on how to use Google Chrome efficiently.
10 Essential Chrome Tips: This free ebook provides certain useful but overlooked Chrome tips that have the potential to significantly enhance a Chrome user's everyday experience.That's it, enjoy browsing
ChromeAnd do let me know your browsing experience with Chrome via comments.