Centos 6.6 Install Chrome Google browser

Source: Internet
Author: User

With Firefox always feel very slow, sometimes still suspended animation. After a search on the Internet, tried various methods, finally installed successfully.


A moment to download

Browser installation on Google's website has been an error:

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:nokeyerror: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.repo and add the following lines of code to it.

[Google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled = 1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
Also reported the same error.

Need to update the installation 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
Extract:
tar-jxvfgcc-4.8.1.tar.bz2
Download the dependent packages required for compilation:

CD gcc-4.8.1

./contrib/download_prerequisites

The new directory is used to hold the compilation results:

mkdir gcc-build-4.8.1

Enter the new directory and execute the Configure command, generating makefile://the following only compiled C + +

CD gcc-build-4.8.1

.. /gcc-4.8.1/configure--enable-checking=release--enable-languages=c,c++--disable-multilib

Compile://Take a long time, if it is multi-core can add-j back plus the number of CPU you want to use

Make

Installation:

Make install

Install complete check version:

g++--version

g++ (GCC) 4.8.1

But at this point/usr/lib/libstdc++.so.6 is still a soft connection/usr/lib/libstdc++.so.6.0.13

Remove this connection first:

Rm-rf/usr/lib/libstdc++.so.6-/usr/lib/libstdc++.so.6.0.13

Then create a new connection:

Ln-s/usr/local/lib/libstdc++.so.6.0.18/usr/lib/libstdc++.so.6

To view the library:

strings/usr/lib/libstdc++.so.6 | grep glibcglibcxx_3.4glibcxx_3.4.1glibcxx_3.4.2glibcxx_3.4.3glibcxx_3.4.4glibcxx_3.4.5glibcxx_3.4.6glibcxx_ 3.4.7glibcxx_3.4.8glibcxx_3.4.9glibcxx_3.4.10glibcxx_3.4.11glibcxx_3.4.12glibcxx_3.4.13glibcxx_3.4.14glibcxx_ 3.4.15glibcxx_3.4.16glibcxx_3.4.17glibcxx_3.4.18glibcxx_3.4.19glibc_2.3glibc_2.0glibc_2.1glibc_2.1.3glibc_ 2.3.2glibc_2.2glibcxx_force_newglibcxx_debug_message_length
The installation still reported the same error.

Finally find the method, re-download: http://people.centos.org/hughesjr/chromium/6/i386/RPMS/

I chose to: chromium-31.0.1650.63-2.el6.i686.rpm


Ref: 1

Because on the Linux system to open the page speed is much slower than in windows, so feel like a different browser, want to install a chrome, this process is very twists and turns, and finally succeeded, first recorded.

My system is centos6.4, 32 bits.

Problem: First from the official network under a google-chrome-stable-33.0.1750.146-1.i386.rpm, trying to install:

Rpm-i google*

Times wrong requires:libstdc++.so.6 (glibcxx_3.4.15)

Missing library, view libstdc++.so.6 under/usr/lib,

strings/usr/lib/libstdc++.so.6 | grep GLIBC

Return results without glibcxx_3.4.15, continue to view

Ls-l/usr/lib/libstdc++.so.6

Discover/usr/lib/libstdc++.so.6-/usr/lib/libstdc++.so.6.0.13

Need to update libstdc++.so.6 version, directly

Yum updatelibstdc++.so.6 or GCC

Said is already the latest, so only from the Internet, but from the Internet is not necessarily right, to re-compile their own gcc

(1) Compiling GCC

Download gcc 4.8.1 Source package:

Http://gcc.gnu.org/mirrors.html to choose the mirror site in Japan, because the download speed is fast, the others are very slow

Choose from the HTTP://FTP.TSUKUBA.WIDE.AD.JP/SOFTWARE/GCC/RELEASES/GCC-4.8.1/

gcc-4.8.1.tar.bz2
Extract:
tar-jxvfgcc-4.8.1.tar.bz2
Download the dependent packages required for compilation:

CD gcc-4.8.1

./contrib/download_prerequisites

The new directory is used to hold the compilation results:

mkdir gcc-build-4.8.1

Enter the new directory and execute the Configure command, generating makefile://the following only compiled C + +

CD gcc-build-4.8.1

.. /gcc-4.8.1/configure--enable-checking=release--enable-languages=c,c++--disable-multilib

Compile://Take a long time, if it is multi-core can add-j back plus the number of CPU you want to use

Make

Installation:

Make install

Install complete check version:

g++--version

g++ (GCC) 4.8.1

But at this point/usr/lib/libstdc++.so.6 is still a soft connection/usr/lib/libstdc++.so.6.0.13

Remove this connection first:

Rm-rf/usr/lib/libstdc++.so.6-/usr/lib/libstdc++.so.6.0.13

Then create a new connection:

Ln-s/usr/local/lib/libstdc++.so.6.0.18/usr/lib/libstdc++.so.6

Check the library:

strings/usr/lib/libstdc++.so.6 | grep GLIBC

Return results with glibcxx_3.4.15


(2) Install Chrome

At this time

Rpm-i google*

Still reported the same mistake, but already have the library, there is no reason wrong, after in

http://www.oschina.net/question/254443_115424

Find the problem, chrome version is wrong, re-download:

http://people.centos.org/hughesjr/chromium/6/i386/RPMS/

I chose chromium-31.0.1650.63-2.el6.i686.rpm.

Rpm-i google*

Successful installation, click on the application button to see the browser.


Ref: 2


Google Chrome is a freeware web browser developed by Google INC. Google Chrome Team proudly announced the release of Google Chrome on March. The actual version is41.0.2272.76 for Linux/Mac OS X andWindows operating system. This new version bundled with a number of exciting fixes, features and improvements, including:

    1. A number of new extension, as well as new app APIs (application programming Interfaces)
    2. Included wide range of under the hood changes to improve stability and performance

If you would like to know more other cool features for this release, please visit Atgoogle ' s Chrome features.

Install Google Chrome in Linux

In this tutorial we'll show you the practically installed Google Chrome browser in one's ourCen TOS 7.0 server using Google ' s own repository withYum tool and a third party script from Richard Lloyd, which installs latest Chrome version onrhel/centos and Fedora versions.

By using Google's official repository you'll keep your Chrome browser up-to-date. However, it should also work onRHEL 7.0/6.x, CentOS 7.0/6.x and Fedora 21-15 versions as well .

Step 1:enable Google YUM Repository

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

[Google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled = 1gpgcheck=1gpgkey=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

The highlighted output in the above image, which clearly telling the latest version of Chrome is available From Repository. So, let's install it usingYum command as shown below, which'll automatically install all needed dependencies.

# yum Install google-chrome-stable

Installing Google Chrome

Update : Sadly, the Google Chrome Browser no longer supports the most famous commercial distribution RHEL 6.x and its free clones such as CentOS andscientific Linux.

Yes, they ' ve discontinued support for RHEL 6.X version as of Google Chrome and on other side, latest firefox and Opera browsers run successfully on the same platforms.

Luckily, there is a script developed by Richard Lloyd, that automatically download and install latest Google chrome Browser by picking libraries from A to recent released distro and put those libraries in (/opt/google/chrome/lib ) directory and then your can able to run Google Chrome on Rhel/centos 6.x versions.

# 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 all <[email protected]>*** Creating Temporary Directory/tmp/chrome_install ... * * * * Changing working directory To/tmp/chrome_install ... * * * Checking for a update to I nstall_chrome.sh. * * * * Downloading Version.dat (please wait) ...--2014-11-21 23:59:04--/  http Chrome.richardlloyd.org.uk/version.datresolving chrome.richardlloyd.org.uk ... 193.110.246.53Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80 ... Connected. HTTP request sent, awaiting response ... Oklength: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

Exploring www.tecmint.com with cool Chrome web browser.

Browsing Google Chrome

About Google Chrome

Download-free Google Chrome eBooks

Google Chrome Cheat Sheet: This free ebook contains dozens of other helpful keyboard shortcuts that'll help you on how to use Google Chrome efficiently.

Ten Essential Chrome Tipsebook provides certain useful but overlooked Chrome tips that has the potential to significantly enhance a Ch Rome user ' s everyday experience. That's it, enjoy browsing with ChromeAnd do let me know your browsing experience with Chrome via comments.

Centos 6.6 Install Chrome Google browser

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.