Google Chrome is a most popular, fast, secure, and easy-to-use free cross-platform web browser developed by Google, and was first released in 2008 for Microsoft Windows, later versions were released to Linux, macOS, iOS, and Android.
Most of Chrome’s source code is taken from Google’s open-source software project Chromium, but Chrome is licensed as proprietary freeware, which means you can download and use it for free, but you cannot decompile, reverse engineer, or use the source code to build other programs or projects.
As of February 2023, Google’s Chrome is the most used internet web browser in the world with a global market share of 65.76 percent. In other words, more than six in ten people use Google Chrome to browse the internet.
Recently, Google Chrome officially rolled out Chrome 113 version for Windows, Linux, and macOS operating systems. The actual version is 113.0.5672.92 and comes with a number of exciting fixes, features, and improvements.
In this tutorial, we will show you how to install the Google Chrome web browser in RedHat-Based Linux Distros like CentOS, Fedora, Rocky Linux, and AlmaLinux using Google’s own repository with the yum package manager tool.
If you are using Debian-based distributions such as Ubuntu or Linux Mint, follow our guide – Install Google Chrome on Debian-based Distributions
32-bit
Linux distributions are deprecated since March 2016.Table of Contents
Install Google Chrome on Linux
We will use Google’s Linux software packages, which are signed with GPG keys that will automatically configure the package manager repository to install and update the Chrome browser whenever a new Chrome update is released.
Step 1: Install Google YUM Repository
First, create a new file called /etc/yum.repos.d/google-chrome.repo as shown.
# vi /etc/yum.repos.d/google-chrome.repo
Next, 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

To save a file in vi, hit the ESC
key to switch to command mode, press :
(colon) to open the prompt bar, and type x
after the colon and hit enter to save the changes.
Step 2: Install Google Chrome on Linux
First, check whether the latest version is available from Google’s own repository using the following yum command.
# yum info google-chrome-stable
Available Packages Name : google-chrome-stable Version : 113.0.5672.92 Release : 1 Architecture : x86_64 Size : 92 M Source : google-chrome-stable-113.0.5672.92-1.src.rpm Repository : google-chrome Summary : Google Chrome URL : https://chrome.google.com/ License : Multiple, see https://chrome.google.com/ Description : The web browser from Google
Do you see the highlighted output above, which clearly told that the latest version of Chrome is available from the repository. So, let’s install it using the yum command as shown below, which will automatically install all the needed dependencies.
# yum install google-chrome-stable
Yes, they’ve discontinued support for the RHEL 6.X version of Google Chrome, and on the other side, the latest Firefox and Opera browsers run successfully on the same platforms.
The next step for RHEL/CentOS 6 users is to move to recent releases of RHEL/CentOS or Rocky Linux/AlmaLinux, the latest Google Chrome works out of the box on these releases.
Step 3: Running Google Chrome on Linux
Start the Chrome browser with a non-root user from the command line or start it from System Menu.
# google-chrome &
Welcome screen of Chrome web browser.

Browsing www.tecmint.com on Chrome web browser.

That’s it, enjoy browsing with Chrome, and do let me know your browsing experience with Chrome via comments.
I have installed chrome in my rhel distro in my virtual machine. When I tried setting proxy in the advanced settings in chrome. It displays a message Something gone wrong. The network manager needs to be running.
@Shiv
Restart the NetworkManager to fix the issue…
It has all possible features to manage your browser tabs and also free up space. Hence it doesn’t eat up the RAM of your system, which we actually need these days. I recommend this extension over any tab management tabs out there.
I already have virtual-min installed and 2 running website, everything will work together? and how can i use Chrome to explore website? basically i want to run a Chrome extension for 24/7 hours.
The date is 19 Aug 2021. The environment I must work in is Centos 7. The latest, stable version of google-chrome is 92.0.4515.159. Other mission software in my environment does not work when chrome v92 is installed. the chrome install upgraded/updated other packages the mission software depends on.
So how do I install an older version of google-chrome (version 85, perhaps?) on AWS, CentOS 7, virtual machine?
Regards,
Gus
@August,
I think you can install older Google Chrome using an older RPM package.
Yes, I agree. But where can I find the older repository? dl.google.com appears only to offer google-chome-stable-latest (version 92). If I can find the older RPM, I’ll be in good shape.
@August,
It seems there is no Google Chrome older repository and also there are no older RPMs for Chrome. Sad, but true that you simply can’t install an older version…
How to uninstall Chrome from Centos 7 completely?
@Meer,
Just run the following command to remove Google Chrome from CentOS 7.
Hi,
I installed Google chrome in my Centos 7 KDE environment but its working very slow. I have updated Patch as well still no go. Help on this will be much appreciated.
Hey Google chrome not working in centos 7:
@Shashank,
Please enable the needed repositories correctly to install these dependency packages as shown.
Also please install EPEL release.
Question:
My team in China have applied this Chrome version 69 to physical PC. The Chrome is able to be installed and open in this physical PC.
However, this Chrome is able to be installed into a mini PC but can’t be open with the following message display:
/usr/bin/google-chrome: symbol lookup error: /usr/bin/google-chrome: undefined symbol: gtk_widget_get_scale_factor
This mini PC is configured with the following:
Please see if there is anyone who may help to fix this problem? Thanks
@Cheung,
Try updating the system from the base repositories and it will fix this chrome error.
and then reboot into 7.4 once it completes.
Hello Sir / Madam
Please help me to how to install VLC Player in RHEL7 OS
@Raj,
Please follow this article to Install VLC in RHEL 7.0.
Hi, can anyone please help me with the following error. I am trying to run Chrome 68 on RHEL 7.2.
I think it is
-headless
instead of--headless
.I am facing following error while running the Google Chrome.
/bin/google-chrome: symbol lookup error: /bin/google-chrome: undefined symbol: gtk_style_context_set_scale
I installed Google Chrome to my CentOS VPS successfully, but when I run (via putty), it returns error: [1274:1274:0807/172204.994442:ERROR:zygote_host_impl_linux.cc(89)] Running as root without –no-sandbox is not supported. See https://crbug.com/638180.
So, Pls help me to fix this error. Thank you.
@Khai,
Please don’t run Google chrome as root, try to run as normal system user…
Dear Ravi Saive,
Thank you for your response, but I still cannot start Google chrome when I remote to my VPS via Putty, Bitvise SSH. It returns error: “(google-chrome:2704): Gtk-WARNING **: cannot open display“.
So, can I run Google chrome when I remote to VPS via Putty or Bitwise SSH?
Thanks,
Khai
@Khai,
That’s not possible bro, how can you run a Google chrome from a Putty without any GUI? Google chrome needs 1GB RAM with GUI support to run it..
HI I am experiencing the exact same issue and im using non-root user. Did you get a fix for this? I tried X11forwarding: yes but and checked yum install for xauth and other suggested packages but they are all there. Running out of ideas with this.
add
--no-sandbox
option if running on root.Great post. Works like a charm! Up to date as welll
After installation when i tried to share it asks me to download and install chrome remote dektop host installer but unable to install it.
Ravi , could you update the article to use GPG key from local file rather than allowing yum to retrieve the key from an external source?? It would be very helpful for me!!!
Thanks!!!!!!
@Dragos,
If you don’t want to retrieve GPG key from external sources online, you can create your own GPG key using tools. Else you can download and install it locally as shown.
Thanks Ravi!!! Best for you!!
I tried the steps you list to install chrome on fedora20-x86_74
Did Not Work.
fc20 needs an older release of chrome :(
To wit:
# yum install google-chrome-stable
Loaded plugins: langpacks, refresh-packagekit
google-chrome | 951 B 00:00:00
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:21.0.1180.89-154005 will be updated
—> Package google-chrome-stable.x86_64 0:65.0.3325.181-1 will be an update
–> Processing Dependency: libssl3.so(NSS_3.28)(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
–> Processing Dependency: libnss3.so(NSS_3.22)(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
–> Finished Dependency Resolution
Error: Package: google-chrome-stable-65.0.3325.181-1.x86_64 (google-chrome)
Requires: libssl3.so(NSS_3.28)(64bit)
Error: Package: google-chrome-stable-65.0.3325.181-1.x86_64 (google-chrome)
Requires: libnss3.so(NSS_3.22)(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
@Jd,
Fedora 20? its too old, upgrade to Fedora 27 (latest release) to install Chrome browser..
Q) how to solve this in rhel 7.
[ ]#yum install google-chrome-stable_current_x86_64.rpm Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Examining google-chrome-stable_current_x86_64.rpm: google-chrome-stable-65.0.3325.181-1.x86_64
Marking google-chrome-stable_current_x86_64.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:65.0.3325.181-1 will be installed
–> Processing Dependency: libnss3.so(NSS_3.22)(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
–> Processing Dependency: libssl3.so(NSS_3.28)(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
–> Processing Dependency: libXss.so.1()(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:65.0.3325.181-1 will be installed
–> Processing Dependency: libnss3.so(NSS_3.22)(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
–> Processing Dependency: libssl3.so(NSS_3.28)(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
—> Package libXScrnSaver.x86_64 0:1.2.2-6.1.el7 will be installed
–> Finished Dependency Resolution
Error: Package: google-chrome-stable-65.0.3325.181-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: libnss3.so(NSS_3.22)(64bit)
Error: Package: google-chrome-stable-65.0.3325.181-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: libssl3.so(NSS_3.28)(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
@Deepak,
You need to update your Linux OS to install latest version of Google Chrome.
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:64.0.3282.186-1 will be installed
–> Processing Dependency: libnss3.so(NSS_3.22)(64bit) for package: google-chrome-stable-64.0.3282.186-1.x86_64
–> Processing Dependency: libssl3.so(NSS_3.28)(64bit) for package: google-chrome-stable-64.0.3282.186-1.x86_64
–> Processing Dependency: /usr/bin/lsb_release for package: google-chrome-stable-64.0.3282.186-1.x86_64
–> Processing Dependency: /usr/bin/lsb_release for package: google-chrome-stable-64.0.3282.186-1.x86_64
–> Finished Dependency Resolution
Error: Package: google-chrome-stable-64.0.3282.186-1.x86_64 (google-chrome)
Requires: libssl3.so(NSS_3.28)(64bit)
Error: Package: google-chrome-stable-64.0.3282.186-1.x86_64 (google-chrome)
Requires: libnss3.so(NSS_3.22)(64bit)
Error: Package: google-chrome-stable-64.0.3282.186-1.x86_64 (google-chrome)
Requires: /usr/bin/lsb_release
You could try using –skip-broken to work around the problem
** Found 6 pre-existing rpmdb problem(s), ‘yum check’ output follows:
ipa-admintools-4.4.0-12.el7.noarch has installed conflicts freeipa-admintools: ipa-admintools-4.4.0-12.el7.noarch
ipa-client-4.4.0-12.el7.x86_64 has installed conflicts freeipa-client: ipa-client-4.4.0-12.el7.x86_64
ipa-client-common-4.4.0-12.el7.noarch has installed conflicts freeipa-client-common: ipa-client-common-4.4.0-12.el7.noarch
ipa-common-4.4.0-12.el7.noarch has installed conflicts freeipa-common: ipa-common-4.4.0-12.el7.noarch
ipa-server-4.4.0-12.el7.x86_64 has installed conflicts freeipa-server: ipa-server-4.4.0-12.el7.x86_64
ipa-server-common-4.4.0-12.el7.noarch has installed conflicts freeipa-server-common: ipa-server-common-4.4.0-12.el7.noarch
@Piyush,
Just upgrade your distro before installing latest version of Google chrome.
Operating System: CentOS Linux 7 (Core)
non-root: google-chrome &
(google-chrome:3520): Gtk-WARNING **: cannot open display:
Thank you. I was able to install Chrome 62.0.3202.94 on a new CentOS 7.4 system today, using yum and the repo detailed above. I haven’t checked (probably) everything but I was able to sign in to my Google account and get everything sync’d as far as I can see.
Ravi Saive:
Could you help provider the script install_chrome for chrome 58? Because the site (https://chrome.richardlloyd.org.uk/) has been shut down. I just use the chrome 58 for UI automated testing. I can’t upgrade our company sever OS version.
Thank you very much
@Ronny,
Unfortunately, the site clearly stated that there is no way to install Chrome 58 on older version of CentOS/RHEL 6, due to switch to GTK+3.
Ravi Saive:
Thanks! Do you have the script? It should be OK that I maybe install the earlier version.
@Ronny,
The script is dead and no longer work now as website stated, the only way to get Chrome, update your OS.
After installation the browser show error while opening (http://localhost/phpmyadmin/)
MySQL said: Documentation
#2002 – No such file or directory — The server is not responding (or the local server’s socket is not correctly configured).
mysqli_real_connect(): (HY000/2002): No such file or directory
Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/2002): No such file or directory
how to fix this problems
======================================================================
root@rhw Downloads]# yum update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
google-chrome | 951 B 00:00
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:60.0.3112.90-1 will be updated
—> Package google-chrome-stable.x86_64 0:60.0.3112.101-1 will be an update
–> Processing Dependency: lsb >= 4.0 for package: google-chrome-stable-60.0.3112.101-1.x86_64
–> Finished Dependency Resolution
Error: Package: google-chrome-stable-60.0.3112.101-1.x86_64 (google-chrome)
Requires: lsb >= 4.0
You could try using –skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), ‘yum check’ output follows:
google-chrome-stable-60.0.3112.90-1.x86_64 has missing requires of lsb >= (‘0’, ‘4.0’, None)
======================================================================
@Milad,
First register your system using subscription-manager as shown here – https://www.tecmint.com/enable-redhat-subscription-reposiories-and-updates-for-rhel-7/
I tried using the script but it fails to get the rpm. I tried manually downloading the rpm and installing it, but yum complains that I need newer libraries (and yes, it looks like the script DID install updates to those).
@Harry,
What version of Linux distribution you were trying?
CentOS 6.9
Got finally error !!!
*** Downloading chrome_versions.csv (please wait) …
–2017-06-21 16:24:07– http://omahaproxy.appspot.com/all?os=linux&channel=stable
Resolving omahaproxy.appspot.com… 216.58.197.52
Connecting to omahaproxy.appspot.com|216.58.197.52|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 318 [text/plain]
Saving to: “chrome_versions.csv”
100%[===========================================================================================================>] 318 –.-K/s in 0s
2017-06-21 16:24:14 (42.6 MB/s) – “chrome_versions.csv” saved [318/318]
*** Latest google-chrome-stable version number is 59.0.3071.109 …
*** Deleted /etc/yum.repos.d/google-chrome.repo to prevent future updates …
ERROR: Sorry, but Google Chrome 59+ won’t work on RHEL/CentOS 6 – aborted
I also faced the same error
Chrome 60 not compatible with CentOS 6
Hi,
I successfully installed chrome without any error and i opened the following command “google-chrome &” in normal user, browser was opened normally but i can’t browsed it and i had a error message
[6:6:0616/200618.782691:ERROR:zygote_linux.cc(626)] Zygote could not fork: process_type renderer numfds 6 child_pid -1
[4780:4814:0616/200620.461810:ERROR:zygote_communication_linux.cc(145)] Did not receive ping from zygote child
“(I’m using RHEL7.1 )” what can i do please help me.
Hello Ravi Saive.
There was released chrome 59 -> https://developers.google.com/web/updates/2017/04/headless-chrome
I was installed google-chrome-stable by this article, and was trying to launch google chrome with headless mode, with following command:
but got an error:
I’m trying to launch chrome headless for unit-tests on karma, but for now i can’t.
i have recentally installed chrome on centos 6.8 , but unable to open it . plz help
@Alok,
Why you not able to open it? any errors you getting while opening it? could you share here?
Are you running as root? Chrome will not run if logged in with root
I ran successfully the update statement:
sudo yum update google-chrome-stable
and
yum info google-chrome-stable =>
Installed Packages
Name : google-chrome-stable
Arch : x86_64
Version : 56.0.2924.87
Release : 1
Size : 171 M
Repo : installed
However when I start Google and goes to the About tab, I still have the previous version:
Version 53.0.2785.113 (64-bit)
Any idea why?
@Cyril,
Strange, could you restart your system and see? or else remove and re-install Google chrome..
Is there a way to install previous chrome version (say, chrome 55) ?
@Jeeva,
I don’t think its possible to install older versions of Chrome, try to search for RPMS or DEBS for your Linux distribution and see..
I’ve been trying to get chromedriver working to handle browser testing for my web apps on a Centos 6.8 setup running through Docker and have just been getting timeout issues with Lloyd’s script.
While everything installs fine without error, I realized that running google-chrome just gives me an “Illegal Instruction” error and I’m guessing that is what’s preventing chromedriver from working properly. Any reason why?
Hi,
Thanks for the script and i successfully installed chrome in redhat 6.8 and working well.
Works perfectly fine, installed Google Chrome in my Linux box without any errors. Many thanks for this. You saved my week..:)
How can i run as root in fedora, please help me!!
@Keops,
To run Google Chrome as root, you need to open and edit the file /usr/bin/google-chrome as follows:
Change the above lines with following ones:
# yum install google-chrome-stable
Getting this error
Error: Package: google-chrome-stable-55.0.2883.87-1.x86_64 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
Error: Package: google-chrome-stable-55.0.2883.87-1.x86_64 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: google-chrome-stable-55.0.2883.87-1.x86_64 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
https://rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B.so.6%28GLIBCXX_3.4.18%29&submit=Search+…&system=centos+7&arch=
This site is too not working i am using centos 7 help
I’m using centos 6.8 64 bits, I got the same error. Did you find any workaround?
Hi. I’m on CentOS 6.8 with kernel version 2.6.32-642.11.1.el6.i686 and running Richard Lloyd’s script gives me the following:
“ERROR: Unsupported architecture (i686) – aborted”
As of last March does Chrome only support x86_64 and not i686? Does this mean I’m out of luck? I’m currently using Firefox 45 (the latest available on Yum) and it’s far from suitable for web development purposes in 2016.
@Sophia,
Yes, Google stopped support for i386 architecture, only 64-bit systems supported. So, unfortunately, you have to install 64-bit CentOS to get latest Chrome or stick with Firefox..
It’s unfortunate that the latest Firefox (now using GTK+3 if you download it from Mozilla’s site) and Chrome don’t work out-of-the-box on CentOS 6. As you say, yes Firefox ESR does work, but it’s many versions behind what the general population uses (I bet 99% of Firefox users don’t know the ESR version exists because it’s never promoted by Mozilla) and RHEL/CentOS will have a conundrum when the next ESR comes out – they might have to try to force it to stay on GTK+2 somehow!
It’s a little surprising you’re running CentOS 6 on 32-bit – it must be creakingly old hardware you’re running it on (I’ve been on 64-bit since 2005). I dropped 32-bit support with my script within days of Google pulling their 32-bit repository and, no, I don’t want my script run against old versions of Chrome (e.g. an old 32-bit version) because that’s a security risk.
FYI, I just released version 7.51 of my script today as an early Xmas present. Nothing new special in it – the main thing was a rebuild of libstdc++.so.6 using the latest gcc 6.3.0 that’s just come out.
Thanks for the reply!
Through a series of unfortunate events, my laptop died and I salvaged the only desktop I could find lying around at work that didn’t require me to do a clean install: my boss’s old server that hadn’t even been booted for five years. My desire to not lose development days led to some poor judgment and of course two weeks later that box wasn’t booting, initially due to installing Oracle JDK8, and then due to an issue with OpenVPN I couldn’t troubleshoot since I wasn’t the one who built the firewall.
So finally forced into the clean install I knew was inevitable and should have just done from the beginning I decided it was best to switch to Debian rather than upgrading to CentOS 7 as the former seems to have more support for bleeding edge dev tools (although I’ll still need to either switch to testing or backport many to stable). After spending a couple days troubleshooting hardware issues, I was amazed at the difference between Debian with Gnome vs. CentOS with KDE. It feels like having an assistant doing everything for me!
Anyway, just wanted to say this blog has been really helpful. Really appreciate all you do, Ravi.
Just installed CentOS 6.8 (guest OS) in VMware Workstation Player 12.5.2 under Windows 7 Pro 64-bit (host OS). Used install_chrome.sh to install Chrome, I have Version 55.0.2883.87 (64-bit) in CentOS, the latest version.
The installation set up menu-based launchers for Chrome browser and remote desktop in Applications menu, launch from command line also works as expected. As for d1 vs dl, copy/paste is your friend.
Fabulous! Many many thanks to Richard Lloyd for developing and sharing this.
need to add following commands in /usr/bin/google-chrome
– –no-sandbox –user-data-dir
eg :- exec -a “$0” “$HERE/chrome” “$@” –no-sandbox –user-data-dir
# google-chrome &
[1:1:1211/165248:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)
Illegal instruction (core dumped)
if you want to run it as root you have to replace:
exec -a “$0” “$HERE/chrome” “$@”
with:
exec -a “$0” “$HERE/chrome” “$@” –user-data-dir –no-sandbox
on the /opt/google/chrome/google-chrome
Thanks for the info! Maybe note that yum now defaults to ‘dnf’ as of Fedora 22.
chrome works on all kinds of OS. Almost all mobile devices has a customized chrome systems except for non-Google devices. Similar to chrome app is next browser’.
I installed google-chrome as per your instruction. when I ran the script install_chrome.sh it shows the following error in the way. At last it shows the installation is complete. But when I tried to launch the google-chrome, it does not launch. Can anyone suggest the solution for this.
Error is:
Resolving Dependencies
–> Running transaction check
—> Package nss.x86_64 0:3.21.0-8.el6 will be updated
–> Processing Dependency: nss(x86-64) = 3.21.0-8.el6 for package: nss-tools-3.21.0-8.el6.x86_64
—> Package nss.x86_64 0:3.21.3-2.el6_8 will be an update
—> Package selinux-policy.noarch 0:3.7.19-292.el6 will be updated
–> Processing Dependency: selinux-policy = 3.7.19-292.el6 for package: selinux-policy-targeted-3.7.19-292.el6.noarch
–> Processing Dependency: selinux-policy = 3.7.19-292.el6 for package: selinux-policy-targeted-3.7.19-292.el6.noarch
—> Package selinux-policy.noarch 0:3.7.19-292.el6_8.2 will be an update
–> Running transaction check
—> Package nss-tools.x86_64 0:3.21.0-8.el6 will be updated
—> Package nss-tools.x86_64 0:3.21.3-2.el6_8 will be an update
—> Package selinux-policy-targeted.noarch 0:3.7.19-292.el6 will be updated
—> Package selinux-policy-targeted.noarch 0:3.7.19-292.el6_8.2 will be an update
–> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for nss which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of nss of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
–exclude nss.otherarch … this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of nss installed, but
yum can only see an upgrade for one of those arcitectures.
If you don’t want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of nss installed already.
You can use “yum check” to get yum show these errors.
…you can also use –setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: nss-3.21.3-2.el6_8.x86_64 != nss-3.21.0-8.el6.i686
*** Determining latest Google Chrome version number (please wait) …
*** Downloading chrome_versions.csv (please wait) …
–2016-12-06 09:34:51– http://omahaproxy.appspot.com/all?os=linux&channel=stable
Resolving omahaproxy.appspot.com… 216.58.199.145, 2404:6800:4009:806::2011
Connecting to omahaproxy.appspot.com|216.58.199.145|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 317 [text/plain]
Saving to: “chrome_versions.csv”
100%[===================================================================================================================================================================================================>] 317 –.-K/s in 0s
@Manish,
It seems nss package problem, try to remove it and re-install it again, if still chrome gives error, you need to upgrade your nss package and the only way is to upgrade your CentOS distribution.
Running proof of transaction
-> Package google-chrome-stable.x86_64 0: 54.0.2840.100-1 will be installed
-> Processing Dependencies: libstdc ++. So.6 (GLIBCXX_3.4.18) (64bit) for the package: google-chrome-stable-54.0.2840.100-1.x86_64
-> Resolved dependency resolution
Error: Package: google-chrome-stable-54.0.2840.100-1.x86_64 (google-chrome)
You need: libstdc ++ .so.6 (GLIBCXX_3.4.18) (64bit)
@Elvin,
You need to upgrade your Linux distribution to install latest stable version of Google Chrome..
[root@localhost ~]# yum info google-chrom-stable
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository ‘prateek’ is missing name in configuration, using id
google-chrome | 10 kB 00:00:00
http://d1.google.com/linux/chrome/rpm/stable/%24basesearch/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for google-chrome: Damaged repomd.xml file
Trying other mirror.
One of the configured repositories failed (google-chrome),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won’t use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
–enablerepo for temporary usage:
yum-config-manager –disable google-chrome
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager –save –setopt=google-chrome.skip_if_unavailable=true
failure: repodata/repomd.xml from google-chrome: [Errno 256] No more mirrors to try.
http://d1.google.com/linux/chrome/rpm/stable/$basesearch/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for google-chrome: Damaged repomd.xml file
getting this error please help me out with the best possible solution
@Prateek,
I think you’ve mis-spelled the repository, its actually dl.google.com not d1, you should add following lines to /etc/yum.repos.d/google-chrome.repo file.
Now you will able to install Google Chrome without any errors..
BE WARNED! The URL in the instructions LOOK LIKE D1 (Dee One) but it’s actually DL (Dee Ell).
E.g. d1.google.com WON’T work, but dl.google.com WILL. (notice the difference?)
How to open it after using yum?
@Eddie,
Open it from terminal or from Start Menu applications..
Hello!
Thank you for your tutorial. But I have an issue, after I install GH.
When I try to run it on the server with:
google-chrome &
I got error:
um.repos.d]# [1:1:0910/163044:ERROR:nacl_fork_delegate_linux.cc(315)]
I have centos 7 on my vds.
If I try to fix it with:
google-chrome –no-sandbox –user-data-dir
I got next error:
ERROR:browser_main_loop.cc(261)] Gtk: cannot open display:
Any help appreciated!
Thank you!
thanks your reply,
but when I use “yum install google-chrome-stable” to install chrome, show the following error:
–> Finished Dependency Resolution
Error: Package: google-chrome-stable-52.0.2743.116-1.x86_64 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
Error: Package: google-chrome-stable-52.0.2743.116-1.x86_64 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
Error: Package: google-chrome-stable-52.0.2743.116-1.x86_64 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
You could try using –skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), ‘yum check’ output follows:
@Wang,
I think you should upgrade your Linux system to most recent version to get Google Chrome..
when I install install_chrome.sh , show the error:
ERROR: Unable to correctly run /usr/bin/rpmdev-setuptree to create build environment – aborted
I install google-chrome-stable (x86_64 52.0.2743.116-1 ) fail. Can you help me?
@Wang,
Have you tried installing from Google Chrome yum repositories? If no, give a try and see whether it works or not..
Not able to open on chrome from CLI
[root@p191 ~]# google-chrome &
[6] 1683
[root@p191 ~]#
@Shaheel,
Whey you want to open it from CLI only? when you can easily launch it from System menu…
I have successfully installed . But chrome is not opening
[root@p191 ~]# google-chrome &
[6] 1683
[root@p191 ~]#
How can i open it from CLI
Hi, tried installing using your method, typing in a terminal windows “yum info google-chrome-stable” and promptly got this error message:
Loaded plugins: fastestmirror, langpacks
http://linux.dropbox.com/fedora/7/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found
And subsequently the install failed. Any ideas on how to fix it?
@Ed,
From where you’ve taken the above repository? we haven’t mentioned or nor uploaded in repository at dropbox? just use the google repository to install the Google Chrome as stated in this article..
Following error is displaying when I trying to install google-chrome.
Please help:
[root@pxe ~]# yum info google-chrome-stable
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
http://d1.google.com/linux/chrome/rpm/stable/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 – “Couldn’t resolve host ‘d1.google.com'”
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: google-chrome. Please verify its path and try again
@Mandeep,
Please check you’ve correct Network DNS Name Servers in your /etc/resolv.conf file, if not added it. It’s something related to your network issue..
Many thanks for the excellent script and post! I am now using Version 51.0.2704.106 (64-bit) to post this comment – although I did have to run the script twice on my RHEL 6.7 system (not that surprising really, since I built the system ~2011 with a much earlier RHEL version and have been upgrading it ever since.
I first did a dry run, using the
-n
option, and found that I needed rpmdevtools installed; I did this manually outside the script, and then did another dry run. The second dry run returned no errors, so I removed the-n
option and went for the full install.It got pretty far, but errored complaining about “Installed (but unpackaged) file(s) found” (lib* files in /opt/google/chrome/lib/) and then removed everything it had installed (including the old Chrome version, 37-something) from my system. With nothing to lose, I ran the script again, and it worked as advertised!
I am thinking to switch from windows 10 to CentOS because I am preparing for RHCE exam, can I install softwares in CentOS just like Ubuntu?
@Abhishek,
Yes you can install softwares on CentOS distribution also, same way like you install Ubuntu..
@ Ravie saive is there any software in centos like in ubuntu software center
@Abhishek,
Not like that, but you can find Software Packages under CentOS similar to Ubuntu Software Center..
Hi Ravi,
I was trying to install chrome using your script on RHEL 6.5, but i’m getting the following error while installing.
“unable to correctly run /usr/bin/rpmdev-setuptree to create build environment. – abort”.
Hi Ravi,
When i’m trying to install i’m getting the following error:
Error: Package:google-chrome-stable-51.0.2704.84-1.x86_64 (google-chrome)
Requires: libnss3.so (NSS_3.19.1) (64bit)
Error: Package:google-chrome-stable-51.0.2704.84-1.x86_64 (google-chrome)
Requires: libstdc++.so.6 (GLIBCXX_3.4.18) (64bit)
The current version of nss installed on my machine is 3.14. How do i upgrade it to 3.19. I’m trying to install on RHEL 6.5.
# yum info google-chrome-stable
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: repo1.ash.innoscale.net
* extras: mirror.cogentco.com
* updates: mirror.net.cen.ct.gov
Error: No matching Packages to list
@Sanket,
It seems you’ve not added Google Chrome repository correctly under your system? could you see this file /etc/yum.repos.d/google-chrome.repo?
I am getting the below error after following the above procedure to install chrome on my RHEL 7.1 distro —>
/bin/google-chrome-stable: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
Could you please help me fix it ?
Thank you
@Sunil,
Use the following
'yum'
command to list the missing libraryAnd install the missing library with yum as shown:
I’ve installed your script, Richard Lloyd. At the command line ran the ‘google-chrome &’ and in a few seconds it core-dumps. Am running centos 6.7, x64 bit, fully patched on a dell inspiron 17 studio laptop.
I just did a clean install of a CentOS 6.7 64-bit VM in VirtualBox (using the defaults and choosing the default “Desktop” product). On an unpatched 6.7 system, there is an issue with nss being out-of-date, so Google Chrome will badly behave (it didn’t crash for me, but struggled to load any Web pages at all).
I then did a “yum update” (as strongly recommended on the script’s Web page) and google-chrome started up fine once nss had been updated. Remember to run google-chrome as a non-root user of course.
i follow the instruction and got this error
http://dl.google.com/linux/chrome/rpm/stable/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404 Not Found”
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: google-chrome. Please verify its path and try again
help me please @_@
@Banu,
Read this statement:
Important: Google Chrome support for all 32-bit Linux distributions is deprecated from March, 2016.
So, it seems your system is 32-bit, so I’m afraid that you no longer going to install or use Google Chrome, better go for 64-bit systems..
these instructions worked fine for me. I am able to browse the web WITHOUT resorting to the Richard Lloyd script
Hi Ravi,
Even I am facing the same issue whenever I try to run the google-chrome.
Note: I followed the repo file approach
Error:
Couldn’t load libexif. libexif.so.12: cannot open shared object file: No such file or directory
Bad NaCl helper startup ack (0 bytes)
Machine details:
3.10.0-327.10.1.el7.x86_64
@Saravana,
It seems to me a bug that will be going to fix in next version of libexif, for now as a workaround try to run this command:
Ravi’s reply missed that it’s a 64-bit CentOS 7 system that you’re having issues with. Digging through the chrome binary, it looks like it tries to dynamically load libexif.so.12 at runtime rather than being linked in as a shared library (which is unusual and why I missed libexif as a dependency in my script). The fix for you might simply be to run “yum install libexif” as root. If that does fix it, I’ll put libexif in as a dependency in my next script release.
Thanks for the article! However, I think the URLs for the google’s yum repo are bad. I swapped the “d1” for “dl” and that seemed to work. That’s replacing the one with an lowercase ‘L’. Those fonts man, get you every time.
@Justin,
Thanks for finding this article useful, the url of Google Chrome repo are correct, its due to our fonts its looks like “1”, but its actually “l”. I hope you got it and also we try to use different fonts soon..
I got this error, after using google-chrome
/bin/google-chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
@Sufian,
Would you tell me which installation instructions you’ve followed Google Chrome repository or Richard Lloyd script? and also on which Linux distribution you’ve tried it?
If you get a missing library error like this, a handy command in this case is “yum provides */libXss.so.1” which will provide a list of packages that supply the missing library. In this case, it’s libXScrnSaver so the fix is to run “yum install libXScrnSaver” as root.
Note that if you ran my script mentioned in this article, it would indeed install libXScrnSaver as one of several required dependencies.
I try this tutorial and work very well, thanks tecmint ..
Thanks for the post. Google chrome successfully installed in Centos6.
I just tried Chrome version 46.0.2490.8 with Centos 7.0 and it didn’t work. The browser opened but I would get an “Aw Snap” for every page.
I ended up downloaded the rpm for version 44 fromt http://orion.lcg.ufrj.br/RPMS/myrpms/google/ and installing it through yum. It’s not the latest version but it’s working.
Hi Ravi,
Until recently I have been able to use Chrome 42 on my Scientific Linux 6.6 desktop. But when I tried to update it, it updated to the latest version 46, but now it does not work. I see Aw, Snap! everywhere. Where I am going wrong? Is my recent ‘sudo’ privilege interfering with the install or anything else? Greatly appreciate your suggestions.
@Prasad,
I suggest you to first remove the old version and try to re-install the latest version from official Google repository..
Hi Ravi,
Sorry that I did not make it clear earlier. I have removed the older version and installed the latest stable version, that does not work. I repeated this process several times without success. Now what I need is an older but functional version of Chrome as Firefox is most frustrating when it requires flash.
@Prasad,
On which Linux distribution you’re trying? Have you tried Richard Lloyd script? Please give a try..I hope it will work fine..
I tried, but chrome is not working on my centos 6.5.
@Lalitesh,
Is there any errors you getting during installation or while starting up chrome?
Thanks, installed and working!.
google chrome install but not working
@Gulab,
Is your chrome installation was successful? have you tried launching chrome as normal user?
how to run Chrome as a root user though ?
@Pavel,
Open google-chrome file under /opt/google/chrome folder and make the changes as suggested.
Find and replace the following line.
with
save and exit to launch as root user..
Anyone know if it’s possible to install on RHEL (Scientific Linux 6) in the home directory without root into a home directory?
No that’s not possible, you must be root to install Chrome and run Chrome as normal user. But if you still want to install chrome on /home directory, you need to compile it from source to specific directory by placing prefix option during installation from source..
looking for an updated browser for redhat 6.2
i am sick of redhat 6.2 and all i use it for
is fax ftp and mud and samba but i would like
to be able to browse without pain of netscape
if i have to keep it.
Any suggestions???
MM3 N.A. Miller, USN RET.
Hi, thanks for the post, but i got this error:
[root@glpi ~]# yum install google-chrome-stable
Complementos cargados:aliases, changelog, fastestmirror, presto, refresh-
: packagekit, security, tmprepo, verify, versionlock
Configurando el proceso de instalación
Loading mirror speeds from cached hostfile
* base: centos.brnet.net.br
* extras: centos.brnet.net.br
* updates: centos.ar.host-engine.com
Resolviendo dependencias
–> Ejecutando prueba de transacción
—> Package google-chrome-stable.x86_64 0:45.0.2454.85-1 will be instalado
–> Procesando dependencias: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) para el paquete: google-chrome-stable-45.0.2454.85-1.x86_64
–> Resolución de dependencias finalizada
Error: Paquete: google-chrome-stable-45.0.2454.85-1.x86_64 (google-chrome)
Necesita: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Podría intentar utilizar el comando –skip-broken para sortear el problema
Podría intentar ejecutar: rpm- Va –nofiles –nodigest
It seems you need to upgrade your OS to install most recent version of Chrome..
Not working. yum info google-chrome-stable says: No matching Packages to list. Not clear that it is actually looking in the google repo. Is there something that needs to be done to enable that repo besides creating the repo file? “yum repolist all” does not show the google-chrome repo.
Centos 7
Hi, just confirmed in my CentOS 7 box and the ‘yum info google-chrome-stable‘ command shows results as shown below.
Muchas Gracias!!
Thank you very much!!!
Nice POST..
Good work and keep it up… chrome browser in linux
Thanks for your knowledge support
Getting error as below tried whatever I found in google unable to fix please help me
[kiran@ws12 ~]$ /usr/bin/google-chrome: /usr/lib/libnss3.so: version `NSS_3.14.3′ not found (required by /usr/bin/google-chrome)
Thanks
Kiran.
@kiran,
Do a yum to get the nss package as:
Thanks for your hard work on this, it all worked perfectly for me!
Is it normal for Chrome to try to access /etc/passwd and why would I let it? – thanx tmgb
From selinux notice:
SELinux is preventing /opt/google/chrome/nacl_helper from getattr access on the file /etc/passwd.
***** Plugin chrome (98.5 confidence) suggests ****************************
If you want to use the plugin package
Then you must turn off SELinux controls on the Chrome plugins.
Do
# setsebool -P unconfined_chrome_sandbox_transition 0
***** Plugin catchall (2.46 confidence) suggests **************************
If you believe that nacl_helper should be allowed getattr access on the passwd file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep nacl_helper /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
0.c1023
Target Context system_u:object_r:passwd_file_t:s0
Target Objects /etc/passwd [ file ]
Source nacl_helper
Source Path /opt/google/chrome/nacl_helper
Port
Host localhost.localdomain
Source RPM Packages google-chrome-stable-44.0.2403.89-1.x86_64
Target RPM Packages setup-2.8.71-5.el7.noarch
Policy RPM selinux-policy-3.13.1-23.el7_1.8.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name ip-152010150195.library.appstate.edu
Platform Linux ip-152010150195.library.appstate.edu
3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23
22:06:11 UTC 2015 x86_64 x86_64
Alert Count 2
First Seen 2015-07-22 12:39:31 EDT
Last Seen 2015-07-22 12:39:31 EDT
Local ID 44318b26-da5a-4343-a5a5-62f06829ef9a
Raw Audit Messages
type=AVC msg=audit(1437583171.613:7673): avc: denied { getattr } for pid=24749 comm=”chrome” path=”/etc/passwd” dev=”dm-0″ ino=21476657005 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file
type=SYSCALL msg=audit(1437583171.613:7673): arch=x86_64 syscall=stat success=no exit=EACCES a0=7f2dd127e9f8 a1=7ffe2e582dd0 a2=7ffe2e582dd0 a3=fffffffffffffa09 items=0 ppid=24748 pid=24749 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=10 comm=chrome exe=/opt/google/chrome/chrome subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)
Hash: nacl_helper,chrome_sandbox_t,passwd_file_t,file,getattr
I’m getting this error when trying to run from terminal
[1:1:0514/151127:ERROR:nacl_fork_delegate_linux.cc(314)] Bad NaCl helper startup ack (0 bytes)
Nevermind. I fixed it. Had to go rebuild chrome (was working from icon but not shell). Works now.
I’m getting the same error, could you let me know how you did fix it? (if you let me the steps it will be awesome) thanks.
I’m getting the same error too,
Did you solve this problem? could you let me know how you did fix it?
thanks.
@Joye,
Sorry for trouble, could you please share with me what kind of error you getting during chrome installation?
I need to run chrome as root user … after installing the latest version I get a sigabrt while it’s normally working as no-root users. I tried to modify the launcher script and to remove all cache/config/apps data under root directory unsuccessfully. Can You give me some more hints to sort this issue out
Thanks
@Emilo,
Under /opt/google/chrome folder, open google-chrome file.
Replace following line
with
save and exit to launch as root user..
I am getting the below error:
Preparing… ########################################### [100%]
1:google-chrome-stable ########################################### [100%]
*** Google Chrome 42.0.2311.90 was installed successfully …
changing security context of `/opt/google/chrome/lib/libstdc++.so.6′
*** Installed /opt/google/chrome/lib/libstdc++.so.6 …
changing security context of `/opt/google/chrome/modify_wrapper’
*** Created /opt/google/chrome/modify_wrapper successfully …
changing security context of `/opt/google/chrome/lib/libgnome-keyring.so.0′
*** Compiled/installed /opt/google/chrome/lib/libgnome-keyring.so.0 …
ERROR: Unable to correctly run /usr/bin/rpmdev-setuptree to create build environment – aborted
*** Uninstalling google-chrome-stable …
Chrome doesn’t open when I click to run. When I try to open in command line I receive “[1] 2803”.
Ridge,
On thing to check.
Make sure that the “chrome-sandbox” file has the proper permissions. (must be root with a stickybit)
Run these commands in the chrome folder
$> sudo chown root:root chrome-sandbox
$> sudo chmod 4755 chrome-sandbox
Remember to supply the -f flag if you’re doing this with puppet or some other tools where you can’t supply user input to the questions it asks
HI …..thanks bro..every thigh is working fine on centos 7 but getting error when open as a root user….
error is
please start google chrome as a normal user. to run as a root you must specify an alternate–user- data-dir for storage of profile information .
@Anuj,
Please run chrome as normal user..it will work..
thanks you, we install chrome but it shows “Aborted (core dumped) ”
Please help me
Hello,
just feedback – the script ran fine on CentOS 6.6 (64-bit), all looks good.
Great work & collaboration to the CentOS community! Thanks!
Hi Richard:
Congratulations. Your work is excellent. I spend at least one week trying to install GChrome in my Linux RedHat 6 with no success, to many conflicts in dependencies. I was almost to give up when You came to help.
Best regards.
Main URL in repository is 404: http://dl.google.com/linux/chrome/rpm/stable/
Any updates to that URL?
@Mike,
I just checked, the repo is working fine….could you please check and confirm..
Just check myself still getting 404
Here is my error when i tried to run it on the command line same issue with Ryan.
[root@acb123 chrome]# ./chrome
./chrome: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15′ not found (required by ./chrome)
I have a realy strange problem after installing all dependencies yum trying to install chrome put ot this:
Error unpacking rpm package google-chrome-stable-40.0.2214.95-1.i386
error: unpacking of archive failed on file /opt/google/chrome/chrome;54d26c3f: cpio: read
Cant find any information about this error can someone help?
@Max,
I think the package might be truncated or corrupted, the better solution is to re-download and install it.
I am using centos 6.6.I have done all the above steps..chrome is installed, but when i going to run by clicking the icon there is nothing to happened, chrome browser is not opening that is my problem, can any one help me.
@Ryan,
Try to start it from the commandline, and see what error it throwing on the screen..
I am using rhel6.5.I have done all the above steps. it’s nothing to happened(no error ) when start chrome
I have the same problem.how do you fix the problem?
@Szeng,
Which problem? can you share with me?
THANK YOU. I just installed on CentOS 6 and everything is working OK.
I just installed on CentOS 7 using the original instructions. Works fine for me.
I have chrome unstable installed on centos 7. For some reason it only has the generic icon in the dock and when I restart the box chrome complains it was not shut down properly. Is that a function of running the unstable version? Ideas? Thanks
Hi,
This has been working fine for me for quite some time,
however I just updated my Oracle Linux (RHEL) kernel – here is
uname -a :Linux vmbox.localdomain 2.6.39-400.245.1.el6uek.x86_64 #1 SMP Thu Dec 18 00:00:59 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
And now when I try to launch it I see this in /var/log/messages:
Jan 12 22:30:50 vmbox kernel: cat[9666]: segfault at 0 ip (null) sp 00007fff4105b778 error 14 in cat[400000+b000]
Jan 12 22:30:50 vmbox abrt[9669]: Not saving repeating crash in ‘/bin/cat’
Jan 12 22:30:50 vmbox kernel: cat[9667]: segfault at 0 ip (null) sp 00007fffef1853b8 error 14 in cat[400000+b000]
Jan 12 22:30:50 vmbox abrtd: Directory ‘ccpp-2015-01-12-22:30:50-9666’ creation detected
Jan 12 22:30:50 vmbox abrt[9668]: Saved core dump of pid 9666 (/bin/cat) to /var/spool/abrt/ccpp-2015-01-12-22:30:50-9666 (327680 bytes)
Jan 12 22:30:50 vmbox abrt[9688]: Saved core dump of pid 9658 (/opt/google/chrome/chrome) to /var/spool/abrt/ccpp-2015-01-12-22:30:50-9658 (16773120 bytes)
Jan 12 22:30:50 vmbox abrtd: Directory ‘ccpp-2015-01-12-22:30:50-9658’ creation detected
Jan 12 22:30:53 vmbox kernel: xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
Any ideas? Thank you
@Thomas,
This could be issue with the recent Chrome version..update to google-chrome-stable-38.0.2125.104-1.i386 will fix the issue.
How do I downgrade/uninstall current version & install an older specific version? Thank you
@Thomas,
If you’ve installed using yum manager, just use the following command remove.
If you’ve used script to install, just remove the google chrome folder from /opt directory and reinstall again..
That will just reinstall current, though, won’t it? How do I find, and then install, an older version?
The RHEL software update ran and also tryed to update my chrome to current. it cut down on some of the /var/log/error messages –
Jan 13 22:57:05 vmbox yum[871]: Updated: google-chrome-stable-39.0.2171.99-1.x86_64
Jan 13 22:57:21 vmbox abrtd: Directory ‘ccpp-2015-01-13-22:57:21-1195’ creation detected
Jan 13 22:57:21 vmbox abrt[1210]: Saved core dump of pid 1195 (/opt/google/chrome/chrome) to /var/spool/abrt/ccpp-2015-01-13-22:57:21-1195 (16773120 bytes)
Jan 13 22:57:21 vmbox abrtd: Package ‘google-chrome-stable’ isn’t signed with proper key
Jan 13 22:57:21 vmbox abrtd: ‘post-create’ on ‘/var/spool/abrt/ccpp-2015-01-13-22:57:21-1195’ exited with 1
Jan 13 22:57:21 vmbox abrtd: Deleting problem directory ‘/var/spool/abrt/ccpp-2015-01-13-22:57:21-1195’
Could the “not signed with the proper key” message be the problem? How do I sign it?
I also have the output of strace. it is fairly long but below are the last few lines. It looks like it might be aborting itself –
access(“/opt/google/chrome/chrome-sandbox”, F_OK) = 0
socketpair(PF_FILE, SOCK_SEQPACKET, 0, [4, 5]) = 0
shutdown(4, 0 /* receive */) = 0
shutdown(5, 1 /* send */) = 0
pipe([6, 7]) = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fc09281f000
mprotect(0x7fc09281f000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fc09301ed50, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fc09301f9d0, tls=0x7fc09301f700, child_tidptr=0x7fc09301f9d0) = 7923
futex(0x7ffffc79fea4, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7ffffc79fe78, FUTEX_WAKE_PRIVATE, 1) = 0
socketpair(PF_FILE, SOCK_SEQPACKET, 0, [8, 9]) = 0
setsockopt(8, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0
access(“/opt/google/chrome/chrome-sandbox”, F_OK) = 0
stat(“/opt/google/chrome/chrome-sandbox”, {st_mode=S_IFREG|S_ISUID|0755, st_size=14536, …}) = 0
access(“/opt/google/chrome/chrome-sandbox”, X_OK) = 0
pipe([10, 11]) = 0
close(11) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc0a4280c70) = 7924
rt_sigprocmask(SIG_SETMASK, [], ~[KILL STOP RTMIN RT_1], 8) = 0
close(10) = 0
recvmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{“ZYGOTE_BOOT\300”, 13}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=1, uid=500, gid=500}}, msg_flags=0}, 0) = 12
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(7915, 7915, SIGABRT) = 0
— SIGABRT (Aborted) @ 0 (0) —
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)
Google Chrome 37 introduced a really kludgy attempt to run cat twice in the google-chrome wrapper script that caused the cat crashes you listed. I fixed this in version 6.10 of my script (and 7.00 is now available with even less orphaned kittens killed :-) ).
@Richard,
I’ve one question, I’ve just tried to install latest Google Chrome 49 under my CentOS 6.6 using official Google repository and the good news is that it’s available for installation, but you’re findings saying that the Google Chrome support for CentOS/RHEL 6 no longer maintained by Google from version 28.
I am confuse here, could you check and come up with real findings…
I’m using Centos 6.. I’m able to successfully install google-chrome using the install_chrome script however when I execute “google-chrome” Chrome display never opens. The process continues to run. When viewing the running processes I see
/opt/google/chrome/chrome
[chrome-sandbox]
Any ideas?
I just installed chrome on centos 7 and I have an issue with it showing a generic icon for chrome. The other chrome apps I have the correct icons but not chrome itself. Also when I reboot the machine chrome always comes up and complains it wasn’t shut down properly. Any thoughts? Thanks
Anyone have any thoughts? I am using the unstable branch and it also gives me an error that it didn’t shut down correctly when I reboot the machine.
Although I am new to linux but still using the help on this page, I successfully installed google chrome on RHEL7.
https://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/
It feel great.
Thank you very much
hi
I have an issue on my Centos 6.4, after running the script and upgrading to version 39
The google chrome wont open, its just not producing anything !
Some testers in my company wanted some other chrome version and I have run the script for a new version, But it screwed up everything :(
I cant even run the older chrome after uninstalling the script
The older chrome gives different error after running it.
“Failed to move to new PID namespace:
Operation not permitted”
Please someone help, I screwed up our jenkins test server
@Jerald,
Remove “nosuid” from /etc/fstab for the /opt partition will fix this error.
Hi Ravi,
Thanks for the reply.
I am currently not at office, but I have installed the same Centos in my Virtual Box, and have done the same process by running the script and updated my O.S.
There is no such entry called “suid” and there isn’t any /opt partition in fstab
The same error, i.e the google chrome is unresponsive when opened. Also when,
“#google-chrome –version” is executed, there’s no response.
How did it work for others? Please help me :(
Hi Ravi,
I was wrong, the Google chrome did perfectly work on my VM after running the script and executing as an user.
But how did it not work on an other machine. I’m gonna have a try today at office.
Ravi, please can I have your contact number.
@Jerald,
Sorry but I can’t give you my personal number, but you can contact here anytime for any help..
Hi, I’m getting an error when trying to run the install script.
My OS:
Linux youname.ucsd.edu 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@youname yum.repos.d]# ./install_chrome.sh
This OS doesn’t look like it’s in the RHEL/CentOS 6 or 7 family.
Very bad things could happen if you continue!
Do you want to you want to continue (y/n) ?n
ERROR: Probably a wise move – aborted
Ever seen this one? I’m not keen on going ahead with that kind of error message!
Thanks!
Hi,
I used your method with step 1 and 2 and it worked !!! On CentOS 7 …
I read AFTER the mention that RH and CentOS would not work.
Oh well, maybe the latest version of those oses were fixed to make it work again.
Thanks a lot, it was simple and clear.
G.
Hi,
Good script, it’s fixing those horrible dependencies by itself. But i’m still getting an error at the end. Could u plz advice?
2014-11-30 23:29:46 (57.1 KB/s) – “libgnome-keyring-3.4.1-2.fc17.x86_64.rpm” saved [103229/103229]
*** Installing /opt/google/chrome/lib/libgnome-keyring.so.0 …
changing security context of `/opt/google/chrome/lib/libgnome-keyring.so.0′
*** Patching /opt/google/chrome/lib/libc.so.6 …
changing security context of `/opt/google/chrome/lib/libc.so.6′
*** Patching /opt/google/chrome/lib/ld-linux-x86-64.so.0 …
changing security context of `/opt/google/chrome/lib/ld-linux-x86-64.so.0′
*** Patching /opt/google/chrome/lib/libstdc++.so.6 …
changing security context of `/opt/google/chrome/lib/libstdc++.so.6′
*** Patching /opt/google/chrome/lib/libdl.so.2 …
changing security context of `/opt/google/chrome/lib/libdl.so.2′
changing security context of `/opt/google/chrome/modify_wrapper’
*** Created /opt/google/chrome/modify_wrapper sucessfully …
./install_chrome.sh: line 1009: gcc: command not found
ERROR: Failed to compile/install /opt/google/chrome/lib/unset_var.so – aborted
*** Uninstalling google-chrome-stable …
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:39.0.2171.71-1 will be erased
–> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================
Removing:
google-chrome-stable x86_64 39.0.2171.71-1 installed 174 M
Transaction Summary
========================================================================================================================================================
Remove 1 Package(s)
Installed size: 174 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Erasing : google-chrome-stable-39.0.2171.71-1.x86_64 1/1
Verifying : google-chrome-stable-39.0.2171.71-1.x86_64 1/1
Removed:
google-chrome-stable.x86_64 0:39.0.2171.71-1
Complete!
*** WARNING: /opt/google/chrome install tree still present – deleting it …
*** /tmp/chrome_install tree contains 7 files totalling 67 MB …
[root@RHEL64 Downloads]#
It looks like you don’t have gcc installed on your machine – try “yum install gcc” to fix this (though the script is supposed to prompt you if the packages it needs – like gcc – aren’t installed). Note that I have just released version 7.00 of the script at http://chrome.richardlloyd.org.uk/ and we’re down to just one external library (libstdc++) now – yay!
hi
running the script resulted into follow error. please help me
[root@localhost Downloads]# ./install_chrome.sh
Google Chrome Installer 6.10 on the i686 platform
(C) Richard K. Lloyd 2014
*** /tmp/chrome_install tree contains 2 files totalling 0 MB …
*** Changing working directory to /tmp/chrome_install …
*** Checking for an update to install_chrome.sh …
*** Downloading version.dat (please wait) …
–2014-11-15 16:00:02– http://chrome.richardlloyd.org.uk/version.dat
Resolving chrome.richardlloyd.org.uk… failed: No address associated with hostname.
wget: unable to resolve host address “chrome.richardlloyd.org.uk”
ERROR: Failed to download version.dat correctly – aborted
*** /tmp/chrome_install tree contains 2 files totalling 0 MB …
[root@localhost Downloads]#
Hi, I have still a problem running Chromium after I installed it by your easy-to-understand installation. First: thanks for publishing this. I am using CentOS 6.6.
When I try to run chromium via /opt/chromium/chrome-wrapper %U I get:
[5690:5690:1113/105213:FATAL:zygote_host_impl_linux.cc(181)] Check failed: boot_pid > 1 (1 vs. 1)Received invalid process ID for zygote; kernel might be too old? See crbug.com/357670 or try using –disable-setuid-sandbox to workaround.
Aborted (core dumped)
However, I don’t really get what’s the problem. Could you please help me?
Problem solved itself – all that was necessary was a system reboot. Afterwards Chromium is working without any problems.
I have problem,.. please help me!..
ERROR: Unable to correctly run /usr/bin/rpmdev-setuptree to create build enviroment – aborted
*** Uninstalling google-chrome-stable …
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:38.0.2125.122-1 will be erased
–> Finished Dependency Resolution
http://mwn-dtp.arsip.or.id/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404 Not Found”
Trying other mirror.
http://mwn-dtp.arsip.or.id/centos/6/extras/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404 Not Found”
Trying other mirror.
http://mwn-dtp.arsip.or.id/centos/6/updates/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404 Not Found”
Trying other mirror.
Dependencies Resolved
=============================================================================================================
Package Arch Version Repository Size
=============================================================================================================
Removing:
google-chrome-stable x86_64 38.0.2125.122-1 installed 173 M
Transaction Summary
=============================================================================================================
Remove 1 Package(s)
Installed size: 173 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : google-chrome-stable-38.0.2125.122-1.x86_64 1/1
Verifying : google-chrome-stable-38.0.2125.122-1.x86_64 1/1
Removed:
google-chrome-stable.x86_64 0:38.0.2125.122-1
Complete!
*** WARNING: /opt/google/chrome install tree still present – deleting it …
*** /tmp/chrome_install tree contains 7 files totalling 67 MB …
@chimin
It seems that your downloaded yum metadata has become obsolete. To fix this problem, clean yum metadata using following commands.
Big thanks to Ravi Saive and Richard Lloyd for this article and beautiful script. I followed the instructions and have successfully installed the google-chrome.
But when trying to run it, I got nothing:
[avz@rs ~]$ /usr/bin/google-chrome
[avz@rs ~]$
No processes in ps info, no output on console.
Then I tried this:
[avz@rs ~]$ /usr/bin/google-chrome; echo $?
1
[avz@rs ~]$
1 is not 0, which means that script failed to start. After some step-by-step debugging of /usr/bin/google-chrome bash-script I found out that commenting out the line “exec 2> /dev/null” fixes the issue.
Hope it will help someone.
Chrome isnt that integral to my life that I cant use a different browser. Messing with my libraries, env vars, and who knows what dependencies and wiping out my older browser that still works…why bother. Though I appreciate the effort, a 2K line shell script is hardly an elegant solution.
It’s never advisable to run older versions of browsers for too long, because there’s a regular stream of security vulnerabilities fixed with each release (witness the Google Chrome bug bounties that are paid out frequently). I think you’ll find that the latest version of my script is far less of a sticking plaster than it used to be – now it’s mainly about installing a newer libstdc++ in a tree well away from system libraries. It stil needs to build a chrome-deps RPM, so there’s still a fair number of deps to pull in (if you do C/RPM development, many of those will be installed already).
Building Chromium is an alternative, but the efforts I’ve seen out there tend to be out-of-date and don’t include Google Chrome’s built-in plugins (e.g. Flash). Upgrwding to CentOS 7 is another option, but probably more of an upheaval than runing my “inelegant” script.
Running the command gives me below a error under a normal user
[kiran@kiran ~]$ google-chrome &
[1] 14032
[kiran@kiran ~]$
Running the same command gives me below a error under root user
# google-chrome
[2]+ Segmentation fault google-chrome
Segmentation fault
i have installed google-chrome successfuly but i cant able to lauch google-chrome
[shiva@dhcppc0 ~]$ google-chrome
Segmentation fault (core dumped)
the above error showing in terminal google chrome is showing in application menu but nt able to launch
Hi,
On Centos 6.5 x64, with google-chrome-stable from yum installation, version 37.0.2062.120, always brings up 2 zombies when it starts. They disappear when process is exited though not always so cleanly.
I have posted further details on the chromium project web site:
https://code.google.com/p/chromium/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Pri%20M%20Iteration%20ReleaseBlock%20Cr%20Status%20Owner%20Summary%20OS%20Modified&groupby=&sort=&id=123583
Any ideas?
Thanks,
Henry
Hi there,
Many thanks for these instructions. I hit “y” to update my OS, but now RHEL won’t boot.
It gets most of the way through booting (presumably up to the point of starting X), and then says:
“lo: Disabled Privacy Extensions”
…and sits there. I’m running RHEL 6.5.
Please help! I can’t work!
Thanks,
Tom
Tom, I am so sorry to hear that your OS stopped working. For me it seems its related to IPV6, disabling IPV6 protocol will solve your problem.
Hi Ravi,
When I was running this script on My OS it was facing the following problem
[root@pc1-108 Desktop]# ./install_chrome.sh
Google Chrome Installer 6.10 on the x86_64 platform
(C) Richard K. Lloyd 2014
*** Changing working directory to /tmp/chrome_install …
*** Checking for an update to install_chrome.sh …
*** Downloading version.dat (please wait) …
–2014-09-23 20:20:03– 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… failed: Connection timed out.
Retrying.
–2014-09-23 20:21:07– (try: 2) http://chrome.richardlloyd.org.uk/version.dat
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80… failed: Connection timed out.
Retrying.
–2014-09-23 20:22:12– (try: 3) http://chrome.richardlloyd.org.uk/version.dat
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80… failed: Connection timed out.
Retrying.
–2014-09-23 20:23:18– (try: 4) http://chrome.richardlloyd.org.uk/version.dat
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80… failed: Connection timed out.
Retrying.
–2014-09-23 20:24:25– (try: 5) http://chrome.richardlloyd.org.uk/version.dat
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80… failed: Connection timed out.
Retrying.
I think there is a problem in your network, please check your connectivity..
Hi RIchard,
As you said in the mail, I exported the http_proxy and tried to install the Chrome on RHEL 6.4 but no luck and below is the output for the same.
[root@ds135-59-210-131 VNC]# ./install_chrome.sh
Google Chrome Installer 6.10 on the x86_64 platform
(C) Richard K. Lloyd 2014
*** /tmp/chrome_install tree contains 2 files totalling 0 MB …
*** Changing working directory to /tmp/chrome_install …
*** Checking for an update to install_chrome.sh …
*** Downloading version.dat (please wait) …
–2014-09-17 06:32:11– 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… Read error (Connection reset by peer) in headers.
Retrying.
–2014-09-17 06:35:44– (try: 2) http://chrome.richardlloyd.org.uk/version.dat
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80… connected.
HTTP request sent, awaiting response… Read error (Connection reset by peer) in headers.
Retrying.
–2014-09-17 06:39:13– (try: 3) http://chrome.richardlloyd.org.uk/version.dat
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80…
Very nice ! Beautiful work. Thank you.
Google Chrome 37.0.2062.120 and Fedora 15/17 libs were installed successfully.
Please run the browser via the ‘google-chrome’ command as a non-root user.
To update Google Chrome, run “yum update google-chrome-stable” or
simply re-run this script with “./install_chrome.sh”.
To uninstall Google Chrome and its dependencies added by this script,
run “yum remove google-chrome-stable chrome-deps-stable” or “./install_chrome.sh
I just installed Google Chrome using this script on my Oracle Linux running as a VirtualBox VM. Worked perfect. Thank you!
I was wondering why Chrome didn’t want to install this last time i tried and the whole redhat no support thing is unbelievable. Great article and thanks to Richard Lloyd :)
Great help. Thanks to Richard Lloyd for his install script!!!
friends,
i have installed cent os 6.3. but i can’t connect my huawei modem in that os, modem device does not detect. how to connect modem or wifi network connection. please help me……………………………..!.
Guys,
Please help me with this, I followed the above steps to install chrome on my RHEL 6.5 (64 bit). But I’m getting the below error.
“ERROR: Unable to correctly run /usr/bin/rpmdev-setuptree to create build enviroment – aborted
*** Uninstalling google-chrome-stable …”
Thanks,
RJ
How well does flash work in chrome on linux ? I don’t have time to test at the moment, that is why I’m asking.
Audio and video in Flash work fine for me in 64-bit CentOS 6.5 using Google Chrome, though remember that the flash plug-in is shipped with Chrome and is actually Flash 14 (whilst the normal Flash plug-in you can get from Adobe is Flash 11). I think it’s quite bad that Adobe only ship Flash 14 to Google and every othe Linux browser has to be 3 major versions behind! You suspect Google paid Adobe a pretty penny to do this…
Just released version 6.00 of my script at http://chrome.richardlloyd.org.uk/ mainly to cope with the new install trees for the beta and unstable Google Chrome RPMs.
Just a follow up on the Google Chrome 36 crash – it seems to be “exclusive” to my “lots of extra stuff installed” 64-bit CentOS 6.5 desktop (an equivalent “clean” 32-bit or 64-bit VM/live ISO of 6.5 runs Google Chrome 36 fine). I’ve no idea what I’ve installed in the past couple of years that causes the crash though and there’s a chance that some other users with similarly “crufty” systems might see it (version 35 works fine on my system, BTW).
I’ll be moving to CentOS 7 soon anyway, plus adding a “clean” 64-bit 6.5 VM to my testing isn’t a hardship. I’ve left a note on the Web site just in case someone else has the same problem.
Some bad news – Google Chrome 36 has made enough changes to cause a startup crash on CentOS 6.5 that I’ve yet to find a fix for. Normally it’s a missing symbol fixed by using a Fedora library, but this isn’t the case this time. I’m not sure I can fix this, but I’ll keep looking at it.
Richard thanks for the update, but still is this good to update the article to latest Chrome 36? or should I wait for the fix?
I upgraded to version 36 and it is crashing everytime i try to launch it.
is there any way to revert back to version 35 of google chrome ?
Only way is to remove chrome directory under /opt and re-install with the script.
Tried that.
that still doesn’t solve the problem..
can anyone provide me with the v35 stable RPM please. ?
There is no such RPM, you’ve to wait for the fix.
[root@localhost ~]# yum install google-chrome-stable
Loaded plugins: refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
google-chrome | 951 B 00:00
google-chrome/primary | 2.0 kB 00:00
google-chrome 3/3
google-talkplugin | 951 B 00:00
linuxtech-release | 2.6 kB 00:01
rpmforge | 1.9 kB 00:00
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:36.0.1985.125-1 will be installed
–> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-stable-36.0.1985.125-1.x86_64
–> Processing Dependency: libnss3.so(NSS_3.14.3)(64bit) for package: google-chrome-stable-36.0.1985.125-1.x86_64
–> Processing Conflict: google-chrome-stable-36.0.1985.125-1.x86_64 conflicts libX11 Finished Dependency Resolution
Error: Package: google-chrome-stable-36.0.1985.125-1.x86_64 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: google-chrome-stable-36.0.1985.125-1.x86_64 (google-chrome)
Requires: libnss3.so(NSS_3.14.3)(64bit)
Error: google-chrome-stable conflicts with libX11
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
“WHAT ERROR PLZZZ TEL ME SIR….”
> Finished Dependency Resolution
Error: Package: vlc-0.9.9a-7.el5.rf.x86_64 (rpmforge)
Requires: libFLAC.so.7()(64bit)
Error: Package: vlc-0.9.9a-7.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13()(64bit)
Error: Package: vlc-0.9.9a-7.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13(GNUTLS_1_3)(64bit)
Error: Package: libcddb-1.3.1-1.el5.rf.x86_64 (rpmforge)
Requires: libcdio.so.7(CDIO_7)(64bit)
Available: libcdio-0.77-1.el5.rf.x86_64 (rpmforge)
libcdio.so.7(CDIO_7)(64bit)
Error: Package: vlc-0.9.9a-7.el5.rf.x86_64 (rpmforge)
Requires: libfribidi.so.0()(64bit)
Error: Package: libcddb-1.3.1-1.el5.rf.x86_64 (rpmforge)
Requires: libcdio.so.7()(64bit)
Available: libcdio-0.77-1.el5.rf.x86_64 (rpmforge)
libcdio.so.7()(64bit)
Error: Package: aalib-1.4.0-5.el5.rf.x86_64 (rpmforge)
Requires: libgpm.so.1()(64bit)
You could try using –skip-broken to work around the problem
rpmforge-release-0.5.2-2.el6.rf.x86_64 is a duplicate with rpmforge-release-0.5.2-2.el5.rf.x86_64
There is something wrong with your Internet Connection..Or You forgot some step.
Restoring your Previous repositories……
/usr/bin/google-chrome: /usr/lib/libnss3.so: version `NSS_3.14.3′ not found (required by /usr/bin/google-chrome)
/usr/bin/google-chrome: /lib/libz.so.1: no version information available (required by /opt/google/chrome/lib/libgio-2.0.so.0)
Sanjeet, please “yum update” to CentOS 6.5 – it’s now the minimum requirement for my script. In fact, my new 5.02 script release at http://chrome.richardlloyd.org.uk/ will now abort if you refuse to upgrade to at least 6.5.
Hi Ravii,
sorry didn’t reply back to your reply, but i did download the new install_chrome.sh and ran it,, but it still not working for Centos 6.5
This the log message I am getting
Jul 3 11:47:19 itpros kernel: lo: Dropping TSO features since no CSUM feature.
Jul 3 11:47:19 itpros kernel: lo: Disabled Privacy Extensions
Jul 3 11:47:19 itpros kernel: __ratelimit: 13 callbacks suppressed
Jul 3 11:47:19 itpros kernel: chrome[2661] general protection ip:7ff0ce3aba87
sp:7ffff30f2e60 error:0 in libc.so.6[7ff0ce375000+190000]
Jul 3 11:47:19 itpros abrt[2663]: File ‘/sbin/init’ seems to be deleted
Jul 3 11:47:19 itpros abrt[2663]: Not saving repeating crash in ‘/sbin/init’
If you can help me out. thanks
A new major release (5.00) of my script is now available at http://chrome.richardlloyd.org.uk/ but I’ve decided to raise to minimum supported version of CentOS 6 by the script to be 6.5, which has been out for over 6 months. I don’t know how many people hold back their CentOS 6 releases, but older releases have caused all sorts of issues when running Google Chrome.
The other enhancement with 5.00 is that those brave souls with RHEL 7 or the CentOS 7 pre-release can now also run my script. OK, it doesn’t do much more than install needed dependencies, but that’s still easier than working out what to do if you go the official Google Chrome download route (which gives you no clue there are any dependencies for the RPM).
I have followed the instruction as it is , but when i launch the chrome it doesn’t work. Any help
Any error you getting on the screen? while launching chrome?
Before when i run the
/opt/google/chrome/google-chrome %U to /opt/google/chrome/google-chrome –user-data-dir %U
It will return an error of [0617/124226:ERROR:nss_util.cc(90)] Failed to create /root/.pki/nssdb directory.
So i read the above threads and run the below commands.
yum install nss
>>Package nss-3.15.3-6.el6_5.i686 already installed and latest version
chcon -t usr_t /opt/google/chrome/chrome-sandbox
mv ~/.pki ~/.pki.old
setsebool -P use_nfs_home_dirs 1
And now i got this one..
/opt/google/chrome/google-chrome %U to /opt/google/chrome/google-chrome –user-data-dir %U
[27120:27120:0617/125325:ERROR:simple_message_box_views.cc(208)] Unable to show a dialog outside the UI thread message loop: Google Chrome can not be run as root. – Please start Google Chrome as a normal user. To run as root, you must specify an alternate –user-data-dir for storage of profile information.
Please Help I am using a
CentOS release 6.5 (Final)
Linux 2.6.32-358.el6.i686 #1 SMP Thu Feb 21 21:50:49 UTC 2013 i686 i686 i386 GNU/Lin
Please run Google Chrome as normal user, don’t run with root user. If you do, you will end up with this error.
Got this Error !
ERROR: Unable to correctly run /usr/bin/rpmdev-setuptree to create build enviroment – aborted
*** Uninstalling google-chrome-stable …
After install google-chrome, when run it. I got an error…please help me
The Error is as follow:
[0602/234841:ERROR:nss_util.cc(90)] Failed to create /root/.pki/nssdb directory.
^C
You have new mail in /var/spool/mail/root
This is because of active SELinux, which is not allowing chrome to work. This can be fixed by setting permission with the help of following command.
The script download and install method just worked for me on Oracle Linux 6. Thanks!
Thanks a lot Ravi!
Been getting this error when launching chrome:
[0507/150626:ERROR:nss_util.cc(90)] Failed to create /home/trschick/.pki/nssdb directory.
it hangs and chrome does not run.
the directory exists and I do have permissions on it:
> ls -lart .pki
total 28
4 drwx——. 2 trschick games 4096 May 7 14:37 nssdb/
4 drwx——. 3 trschick games 4096 May 7 14:37 ./
20 drwxr-xr-x. 158 trschick bin 20480 May 7 14:59 ../
To fix this error, run the following command, it will change the user/group ownership of the ‘.pki’ directory to yours.
In my setup also I am not a group… so I can’t directly run the suggested command.
But I already own the directory, and the target directory has no group permissions anyway.
wondering if that error is not the issue…. it is entirely correct… it can’t create the directory since it already exists… so perhaps I’m failing on what comes next… but not getting and error…
I’ve had this nssdb dir problem reported to me by one or two users, but I’m struggling to reproduce it myself. Try renaming your entire ~/.pki directory (without Google Chrome running at the time):
mv ~/.pki ~/.pki.old
and then starting Google Chrome after that. Another thing to do is to make sure nss is the latest version (mine is nss-3.15.3-6.el6_5) and “yum upgrade nss” if it isn’t.
In the meantime, I’ve put up a new 4.70 version of my script at http://chrome.richardlloyd.org.uk/ – this one fixes a 2-hourly self-call segfault and provides a new -f option for non-interactive prompting.
This is a error i got when installed
Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15) for package: google-chrome-stable-34.0.1847.132-1.i386
Iam using Fedora 16, when i want to update my chrome browser it is displaying error as follows:
yum install google-chrome-stable
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.i386 0:27.0.1453.93-200836 will be updated
—> Package google-chrome-stable.i386 0:34.0.1847.132-1 will be an update
–> Processing Conflict: google-chrome-stable-34.0.1847.132-1.i386 conflicts libX11 Finished Dependency Resolution
Error: google-chrome-stable conflicts with libX11-1.4.3-1.fc16.i686
You could try using –skip-broken to work around the problem
** Found 12 pre-existing rpmdb problem(s), ‘yum check’ output follows:
iproute-2.6.39-3.fc16.i686 has missing requires of iptables >= (‘0’, ‘1.4.5’, None)
iproute-2.6.39-3.fc16.i686 has missing requires of libxtables.so.7
iptstate-2.2.2-5.fc15.i686 has missing requires of iptables
1:libguestfs-1.12.7-2.fc16.1.i686 has missing requires of /lib/libip4tc.so.0
1:libguestfs-1.12.7-2.fc16.1.i686 has missing requires of /lib/libip6tc.so.0
1:libguestfs-1.12.7-2.fc16.1.i686 has missing requires of /lib/libipq.so.0
1:libguestfs-1.12.7-2.fc16.1.i686 has missing requires of /lib/libiptc.so.0
1:libguestfs-1.12.7-2.fc16.1.i686 has missing requires of /lib/libxtables.so.7
libvirt-0.9.6-2.fc16.i686 has missing requires of iptables
libvirt-0.9.6-2.fc16.i686 has missing requires of iptables-ipv6
system-config-firewall-base-1.2.29-4.fc16.noarch has missing requires of iptables >= (‘0’, ‘1.2.8’, None)
system-config-firewall-base-1.2.29-4.fc16.noarch has missing requires of iptables-ipv6
Please suggest a solution
I think package ‘libX11-1.4.3-1.fc16.i686’ is conflicting. Better remove this package and run the chrome script again.
Hi Richard/Ravi,
I am getting error with launching chromium either from the GUI/Shell prompt.
[root@unknown0013e813ff63 ~]# google-chrome &
[1] 3813
[root@unknown0013e813ff63 ~]# [0414/045802:ERROR:nss_util.cc(90)] Failed to create /root/.pki/nssdb directory.
No screen coming, when tried from Applications-> Internet->Google chrome.
Below is my system params. It is 32 bit.
root@unknown0013e813ff63 ~]# uname -a
Linux unknown0013e813ff63 2.6.32-431.11.2.el6.i686 #1 SMP Tue Mar 25 17:17:46 UTC 2014 i686 i686 i386 GNU/Linux
[root@unknown0013e813ff63 ~]#
Chrome version: [root@unknown0013e813ff63 ~]# rpm -qa | grep chrome
chrome-deps-1.20-1.i686
google-chrome-stable-34.0.1847.116-1.i386
Any help, would be highly appreciated.
Thanks,
saras
Good job!
I ran ./install_chrome.sh (version 4.60) on my Centos 6.5 64-bit system. It worked fine.
I did similar thing earlier with vlc application. Thanks, again.
Thank you.
I just released version 4.60 of my script at http://chrome.richardlloyd.org.uk/ which will download/install nss if it’s not present (credit to Ravi for suggesting this), plus fixes an issue with the GNOME keyring library (you might have seen it prompting for a keyring password in recent releases).
Ran the install script, but get this error
usr/bin/google-chrome: /usr/lib64/libnss3.so: version `NSS_3.14.3′ not found (required by /usr/bin/google-chrome)
you need to install nss package using yum command.
I am running CentOS 6.5 and have installed successfully chrome 33,but it can not work.
Use “google-chrome” in ternimal and get “/usr/bin/google-chrome: symbol lookup error: /usr/bin/google-chrome: undefined symbol: gtk_button_get_event_window”..
Please suggest me a fix.
Thanks so much, this appears to work perfectly with the exception of sound but I am sure that is fixable. I am running centos6.5_64 on a compact presario v3000. I have waited so long for something like this, thank you so much.
google chrome installed but it do not paly sounds.. video is working but there is no sound.
firefox,opera browsers playing sound.
Hi, I am getting “The Google Talk Plugin has crashed” message on CentOS 6.5 while using Hangout.
Please suggest me a fix.
I followed the above steps but it didn`t worked out. while doing this ‘yum install google-chrome-stable’ i get error like :
Error: Package: google-chrome-stable-33.0.1750.117-1.i386 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)
When i run ‘./install_chrome.sh’
i get following error:
‘Google Chrome Installer 4.50 on the i686 platform
(C) Richard K. Lloyd 2014
*** /tmp/chrome_install tree contains 1 files totalling 0 MB …
*** Changing working directory to /tmp/chrome_install …
*** Checking for an update to install_chrome.sh …
*** Downloading version.dat (please wait) …
–2014-02-23 07:33:10– http://chrome.richardlloyd.org.uk/version.dat
Connecting to 192.168.2.51:8080… connected.
Proxy request sent, awaiting response… 407 Proxy Authentication Required
2014-02-23 07:33:25 ERROR 407: Proxy Authentication Required.
ERROR: Failed to download version.dat – aborted
*** /tmp/chrome_install tree contains 1 files totalling 0 MB … ‘
Please help me out. I`m using scientific linux 6.4 32bit
version NSS 3-14-3 not found. RedHat 6.4 + Chrome stable 32.
Do, yum install nss
I did step 1 and moving to step 2 but when I try running
wget http://chrome.richardlloyd.org.uk/install_chrome.sh
I got this error
–2014-02-13 12:01:52– http://chrome.richardlloyd.org.uk/install_chrome.sh
Resolving chrome.richardlloyd.org.uk… failed: No address associated with hostname.
wget: unable to resolve host address “chrome.richardlloyd.org.uk”
I can ping my router and I can ping yahoo.com. When I open konkeror browser to google.com, it’s fine. But I can’t access other url site. I’m using CentOS 6.4
#yum update
is working fine
Its your DNS issue, please check and fix it.
I have installed goggle-chrome with below commands.
wget http://chrome.richardlloyd.org.uk/install_chrome.sh
chmod u+x install_chrome.sh
./install_chrome.sh
And after successful installation tried to start chrome with below command
google-chrome &
But it is throwing below error.
/usr/bin/google-chrome: /usr/lib64/libnss3.so: version `NSS_3.14.3′ not found (required by /usr/bin/google-chrome)
Please suggest.
Thanks in advance.
Regards,
Manohar
To fix such error install nss package using ‘yum install nss’.
Thanks for reply.
I have un-installed google chrome, installed NSS & reinstalled chrome with below commands.
./install_chrome.sh -u
yum install nss
./install_chrome.sh
After successfull NSS & chrome installation I have tried to start chrome with command “google-chrome &” which is resulting me below error.
“bash: google-chrome: command not found”
Please suggest.
By default Google Chrome files are installed under /tmp/chrome folder, remove this folder manually and then try to install it again.
Thank you so much. I am now able to start google chrome.
Appreciable feedbacks.
Regards,
Manohar
Works well with CentOS release 6.5 (Final) 2.6.32-71.el6.i686 !!!
Good going Dude !!! (y)
Thank you very much for your effort! it worked perfectly for me :-)
This worked a treat. Many thanks, installed into the Applications menu too.
Running Centos 6.5 and the install_chrome.sh script worked wonders to give me a working version 31 of chrome. Thanks to Richard for all the hard work.
my linux kernel version is:
“Linux version 2.6.32-220.el6.x86_64 ([email protected]) (gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) ) #1 SMP Wed Nov 9 08:03:13 EST 2011”
when am trying to run “yum install google-chrome-stable” commend , at d end it shows sm error like this
Error: Package: google-chrome-stable-31.0.1650.63-1.x86_64 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: xulrunner-last-26.0-1.el6.remi.x86_64 (remi)
Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
Error: Package: xulrunner-last-26.0-1.el6.remi.x86_64 (remi)
Requires: libz.so.1(ZLIB_1.2.0)(64bit)
Error: google-chrome-stable conflicts with libX11
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
plz help me how to slv this prblm ??
If yum failed to install dependencies, use the script provided in the article to install latest stable Google Chrome.
Thanx to richard lloyd for the chrome install script for this centos user!!
Script Works on 32bit Centos OS 6.5
Thanks
Thank you so much. it was really helpful for me.
I’m a chinese,so it’s cannot connection http://omahaproxy.appspot.com/all?os=linux&channel=stable;
sorry ,it’s connect ;my english is so bad!
I follow the instructions but it fails on RHEL6
# google-chrome-stable
-bash: google-chrome-stable: command not found
the installation failed with the following:
*** Latest google-chrome-stable version number is 31.0.1650.57 …
warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 7fac5991
*** Installing Google Chrome 31.0.1650.57 RPM (please wait) …
warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 7fac5991
Preparing… ########################################### [100%]
1:google-chrome-stable ########################################### [100%]
Error: Could not find xdg-icon-resource
error: %post(google-chrome-stable-31.0.1650.57-1.x86_64) scriptlet failed, exit status 1
ERROR: Newly-installed Google Chrome version () not the latest one (31.0.1650.57) – aborted
*** WARNING: /opt/google/chrome install tree still present – deleting it …
*** /tmp/chrome_install tree contains 1 files totalling 58 MB …
Delete /opt/google directory and try to run script again.
the script worked perfect for me. thanks
Any suggestions on how to address this:
google-chrome fails to start with “NSS_VersionCheck(“3.14.3″) failed. NSS >= 3.14.3 is required.”
[15362:15389:1020/083021:FATAL:nss_util.cc(396)] NSS_VersionCheck(“3.14.3”) failed. NSS >= 3.14.3 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.
Thank you guys for all your work to make this happen. Beside a great browser Chrome is an essential web developer tool. I really appreciate that I don’t have to switch to a different browser on CentOS 6.4 to
Preparing… ########################################### [100%]
1:google-chrome-stable ########################################### [100%]
libudev.so.1 not found in lib or /usr/lib.
error: %post(google-chrome-stable-30.0.1599.66-1.i386) scriptlet failed, exit status 1
ERROR: Newly-installed Google Chrome version () not the latest one (30.0.1599.66) – aborted
*** WARNING: /opt/google/chrome install tree still present – deleting it …
*** /tmp/chrome_install tree contains 1 files totalling 50 MB …
———————————————————
after remove both two dir by
#rm -rf /opt/google
#rm -rf /tmp/install_chrome
than get an error
like
———————————————————-
[root@localhost Desktop]# rpm -Uvh google-chrome-stable_current_i386.rpm
warning: google-chrome-stable_current_i386.rpm: Header V4 DSA signature: NOKEY, key ID 7fac5991
error: Failed dependencies:
libcurl.so.4 is needed by google-chrome-stable-29.0.1547.76-223446.i386
libc.so.6(GLIBC_2.11) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libc.so.6(GLIBC_2.6) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libc.so.6(GLIBC_2.7) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libc.so.6(GLIBC_2.8) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libc.so.6(GLIBC_2.9) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libexpat.so.1 is needed by google-chrome-stable-29.0.1547.76-223446.i386
libstdc++.so.6(GLIBCXX_3.4.10) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libstdc++.so.6(GLIBCXX_3.4.11) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libstdc++.so.6(GLIBCXX_3.4.15) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libstdc++.so.6(GLIBCXX_3.4.9) is needed by google-chrome-stable-29.0.1547.76-223446.i386
libX11 < 1.4.99 conflicts with google-chrome-stable-29.0.1547.76-223446.i386
———————————————–
what should i do please help me sir i am tired…
thank you
It seems Latest Chrome is not supported on your system. Which version of OS you using? Have you tried the script to install the latest stable one?
For all the ones using RHEL or centos and get the following error:
Error: Package: google-chrome-stable-29.0.1547.76-223446.x86_64 (/google-chrome-stable_current_x86_64)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
Use this script, it worked for me:
http://chrome.richardlloyd.org.uk/
Hi,
I’ve tried installing 29.0.1547.65 using your script but I keep getting an error:
Error: Could not find xdg-icon-resource
error: %post(google-chrome-stable-29.0.1547.65-220622.x86_64) scriptlet failed, exit status 1
ERROR: Newly-installed Google Chrome version () not the latest one (29.0.1547.65) – aborted
Can someone help?
Thanks in advance!
Hi,
I install the newer google chrome ( Version 29.0.1547.65 ) but sometimes without reason Centos show me this in my error report. See this screenshot: http://gtsvetanov.com/problem.png
Can anybody helps me?
It didn’t work on CentOS 6.4! Could you help me?
It displays this error:
ERROR: Failed to compile/install /opt/google/chrome/lib/unset_var.so – aborted
and then it automaticly removes chrome via yum:
*** Uninstalling google-chrome-stable …
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.x86_64 0:29.0.1547.65-220622 will be erased
–> Finished Dependency Resolution
google-chrome | 951 B 00:00
Dependencies Resolved
============================================================================================================================
Package Arch Version Repository Size
============================================================================================================================
Removing:
google-chrome-stable x86_64 29.0.1547.65-220622 installed 160 M
Transaction Summary
============================================================================================================================
Remove 1 Package(s)
Installed size: 160 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Erasing : google-chrome-stable-29.0.1547.65-220622.x86_64 1/1
Verifying : google-chrome-stable-29.0.1547.65-220622.x86_64 1/1
Removed:
google-chrome-stable.x86_64 0:29.0.1547.65-220622
Complete!
*** WARNING: /opt/google/chrome install tree still present – deleting it …
*** /tmp/chrome_install tree contains 5 files totalling 62 MB …
Thanks in advance!
The error itself telling that you already have chrome tree present on /opt and /tmp. So, you need to remove these folders like.
After that, give a try again, I am sure it will work.
cat /etc/*release*
CentOS release 5.10 (Final)
After
yum install google-chrome-stable
./install_chrome.sh
I got the same error msg as Dani.
*** WARNING: /opt/google/chrome install tree still present – deleting it …
*** /tmp/chrome_install tree contains 1 files totalling 56 MB …
I did as you suggested:
# rm -rf /opt/google
# rm -rf /tmp/chrome_install
redo “./install_chrome.sh”
However, still can get the same error msg…
# google-chrome
bash: google-chrome: command not found
Thank you for the great help!
root@localhost Desktop]# google-chrome &
[1] 4117
[root@localhost Desktop]# /usr/bin/google-chrome: symbol lookup error: /usr/bin/google-chrome: undefined symbol: _XGetRequest
what should b done!!!please hlp
Your libX11.so is too old to work with newest Google-Chrome version. You need to upgrade your OS
Script works perfectly, chrome runs fine so far on Oracle Linux 6.4 using Unbreakable Enterprise kernel.
Thank you for the awesome solution .
I use Ubuntu , CentOS6.4 as double boot.
I use CentOS for KVM .
I use Ubuntu 12.04 for tremendous graphical experience, which no other OS apart from MAC gives .
Thank you, here functioned normally, CentOS 6.4
hi!
I have followed all the steps above. I can see chrome being installed but when I run the command google-chrome & it says command not found.
Hi, when I run google-chrome on CentOS6.4 , a message came out like this “/usr/bin/google-chrome: error while loading shared libraries: libstdc++.so.6: ELF load command past end of file” ,help me please.
Has just worked like a charm with an older (64-bit) desktop on CentOS 6.4. Thanks – I know the user will ask for it.
The script worked perfect after setting the selinux context.. Thanx a bunch..
The script is so good congratulations , but it fails at the end when calling rpmdev-setuptree
i tried to install rpmdevtools but it not installs because dependence problems .
elfutils-0.152-1.el6.x86_64 from RHEL-63-x86_64
elfutils-libs-0.152-1.el6.x86_64 from RHEL-63-x86_64
rpm-build-4.8.0-27.el6.x86_64 from RHEL-63-x86_64
rpmdevtools-7.5-1.el6.noarch from RHEL-63-x86_64
I haven’t seen those dependency issues on the test environments (which now include 32-bit platforms and Scientific Linux), Marcos. It may be you’ve added third-party repos that clash. If you’re running a 6.3 release, I’d recommend a “yum update” to 6.4 before you try running my script again, since you’ll need 6.4 to run Google Chrome 28 or later.
Very good great contribution! thanks
a very good news,thank you~
Just a note that version 4.01 of my script sorts out previous issues listed here. The _XGetRequest problem is because you are running a pre-6.4 CentOS (6.4 updated libX11 to 1.5, which fixes the symbol issue). My script now asks you to update your CentOS install to at least 6.4 and recommends you don’t run Chrome until you do.
BTW, I tried CentOS 6.0 unpatched in a VM the other day and it has all sorts of problems (including more issues with Chrome) – even metacity was crashing literally all the time!
/usr/bin/google-chrome: symbol lookup error: /usr/bin/google-chrome: undefined symbol: _XGetRequest
[1]+ Exit 127 google-chrome
Hi, I run the script on my centos 6.3, but then I launch google-chrome command, this is what I get
/opt/google/chrome/chrome: error while loading shared libraries: libglib-2.0.so.0: failed to map segment from shared object: Permission denied
I have download rpm file but it’s too much dependency required. Is there any package file is available on internet please share URL…
Regards,
Tausif
NO, there is no such offline package available to install, you must connected to internet to download Chrome with all needed packages.
I ran this script and got this error any suggestions:
/opt/google/chrome/chrome: error while loading shared libraries: libglib-2.0.so.0: failed to map segment from shared object: Permission denied
Hi,
I don’t have direct internet connect. let me know is there any way to install google-chrome on RHEL 6.4 64bit.
Regards,
Tausif
NO way! Sorry, you must have internet to download Chrome.
In case you prefer to have the dependency libraries in a regular RPM package I’ve created a spec file for building a chrome-deps package. It’s available from github:
https://github.com/adamel/chrome-deps
Hi
I’v used the script on my 32bit CentOS 6.4 (kernel 3.9), it installed Chrome 28.0.1500.71, but doesn’t work. Is not browsing, even “Settings”.
http://i.imgur.com/X8WePIJ.png
http://i.imgur.com/rJtMzUG.png
Can anyone help me?
Thanks so much, for my work I have to keep 2-3 different browsers open at once and I have so many things configured for each I didn’t want to have to abandon Chrome. This worked perfectly! Thanks again!
Hi,
+1 for Richard Lloyd’s install_chrome.sh script: worked wonders here on my Springdale EL6 x86_64 notebook.
Thanks Richard!
Cheers,
—
Durval.
I have created a shell script you can download from here:
http://chrome.richardlloyd.org.uk/
When run, it will download and install the latest Chrome (28 at the time of writing) and also download/extract some libraries from various Fedora 15 RPMs. Once it’s run successfully, the google-chrome command will run Chrome 28 OK for me on my 64-bit CentOS 6.4 system.
Dear Richard,
Thanks for the script, we will definitely try out, if it works perfectly. We include script in this article.
THX very much. It Works!
Richard,
Thanks for the great script, this fixed my centos 6.4 VM that I set up fro testing new software. Worked perfectly.
Worked great, Richard. That’s for your work.
OS is latest CentOS6.3, still the issue:
Package google-chrome-stable.x86_64 0:28.0.1500.71-209842 will be installed
–> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-stable-28.0.1500.71-209842.x86_64
This is because the libstdc++ does not support GLIBCXX_3.4.15.
Any work around ?
~Sanjay
I save so much time using Linux! It’s so easy to install software!
Error: Package: google-chrome-stable-28.0.1500.71-209842.x86_64 (google64)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
You could try using –skip-broken to work around the problem
Your current operating system is not supported to install Chrome, do a upgrade
I have upgraded to the latest version of RHEL 6. Same result.
To “upgrade” to one of the unstable “supported” Linux distributions would be unwise, based on other software supported by RHEL 6.
version 28 requires a newer glibc package, not on centos 5.x or 6.x
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-stable.i386 0:28.0.1500.52-207119 will be installed
–> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15) for package: google-chrome-stable-28.0.1500.52-207119.i386
–> Finished Dependency Resolution
Error: Package: google-chrome-stable-28.0.1500.52-207119.i386 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)
Glibc compatibility issue, need newer version, upgrade your system.
Newer Google Chrome doesn’t support CentOS any more.
[root@localhost google-chrome.repo]# yum install google-chrome-stable
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
No package google-chrome-stable available.
Error: Nothing to do
healp pliis
Please add google own repository and try again.
no package provides lsb >= 4.0 ?
Tried installing manually
glibc_lsb (2.3.6-2pclos2007)
lsb (4.0-1pclos2010)
lsb-core (4.0-1pclos2010)
vim-enhanced (7.3.338-4pclos2012)
and am met with endless impossible to fix loop of dep problems. Why does it care if I have vim-enhanced? Its an unnecessary old viewer. Its the last dependency that if installed then needs ruby, ruby needs ruby-libs, then from there it never ends with more. I would have a new distro when done. None of these packages are on the pclinux distros (there are no usa distros any more either).
when I ask it tells me I have LSB 3.* installed.
Forcing deps on the vim-enhanced just to get the other files to install jams the package manager. It claims broken packages of everything above:
[root@localhost jamiemurphy]# apt-get –fix-broken install
Reading Package Lists… Done
Building Dependency Tree… Done
Correcting dependencies… Done
The following packages will be REMOVED:
glibc_lsb (2.3.6-2pclos2007)
lsb (4.0-1pclos2010)
lsb-core (4.0-1pclos2010)
vim-enhanced (7.3.338-4pclos2012)
0 upgraded, 0 newly installed, 4 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 1979kB disk space will be freed.
Do you want to continue? [Y/n] y
Committing changes…
Preparing ############################## [100%]
Cleaning up / removing
lsb-4.0-1pclos2010.i586 ############################## [100%]
glibc_lsb-2.3.6-2pclos2007.i586 ############################## [100%]
lsb-core-4.0-1pclos2010.i586 ############################## [100%]
vim-enhanced-7.3.338-4pclos2012.i586 ############################## [100%]
Done.
OMG this is so aggrivating I am going to switch to debian, or another distro that doesnt constantly force you to install a new clean install of the upgrade every year, or have endless updates that wind up destroying the os (Fedora, just gave up on it)
Thanks,
-Jamie
Error: Package: google-chrome-stable-28.0.1500.52-207119.i386 (google)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.nbrc.ac.in
* elrepo: mirror.solvention.de
* epel: http://ftp.riken.jp
* extras: mirror.nbrc.ac.in
* rpmfusion-free-updates: mirror.proserve.nl
* rpmfusion-nonfree-updates: mirror.proserve.nl
* updates: mirror.nbrc.ac.in
Setting up Install Process
No package google-chrome-stable available.
Error: Nothing to do
Please help me to resolve this..
The error itself explaining that you haven’t added google-chrome repo. Please follow the installation steps correctly and try again.
i install crome in rhel6…and edit /opt/google/chrome/google-chrome %U to /opt/google/chrome/google-chrome –user-data-dir %U to run as root….but every time i open crome it open another tab listing index of /root/
i not cant
yum install google-chrome-stable
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.icyboards.com
* c6-media:
* extras: centos.webxcreen.org
* updates: centos.webxcreen.org
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
Have you correctly added chrome repository? because i see from the error that media repo is loading. disable that centos.repo and try to load from the chrome repo.
yes i Have correctly add chrome repository, ando how disable centos.repo?
thanks
Sorry, my mistake disable media .repo by making enable=1 to enable=0. and try again the command.
Package google-chrome-stable.i386 0:26.0.1410.63-192696 set to be updated
–> Processing Dependency: libc.so.6(GLIBC_2.11) for package: google-chrome-stable
–> Processing Dependency: libcurl.so.4 for package: google-chrome-stable
—> Package redhat-lsb.i386 0:4.0-2.1.4.el5 set to be updated
–> Finished Dependency Resolution
Error: Missing Dependency: libcurl.so.4 is needed by package google-chrome-stable
Error: Missing Dependency: libc.so.6(GLIBC_2.11) is needed by package google-chrome-stable
Google Chrome is not compatible with RHEL/CentOS 5 (5.7). So, the only way to get this running, you must go with newer version (i.e CentOS 6).
Hi,
I am using CentOS 6.2, 32 bit and still it is asking for me to update my OS. When i try to udpate the OS getting following error,
** Found 2 pre-existing rpmdb problem(s), ‘yum check’ output follows:
chrome-deps-1.20-1.i686 has missing requires of libz.so.1(ZLIB_1.2.2)
google-chrome-stable-34.0.1847.132-1.i386 has missing requires of libnss3.so(NSS_3.14.3)
Zlib library is not compatible with newest Chrome, you should upgrade your OS.
Worked perfect with CentOS 6.4 64-bit.
Thanks!
I tried the above process and i am getting the below error after starting the browser
(google-chrome:5012): Gtk-WARNING **: cannot open display: :0.0
[2]+ Exit 1 google-chrome
I got:
Failed to move to new PID namespace: Operation not permitted
Any idea how to fix that? Seems to be a problem with the sandbox.
This can be fixed by using the following command.
Thanks for the reply but I’m not running SELinux so chcon doesn’t help.
(Tried it before checking if SELinux is active and got
chcon: can’t apply partial context to unlabeled file `/opt/google/chrome/chrome-sandbox’)
How can I install this google chrome version on CentOS 5.8?
@Karthick.
The above article will also work with CentOS 5.8
give error :Startup refusing to run as root.
logout
in redhat 6.0 64 bit
@Chandan,
Start the chrome with normal user, it will work.
still not working but i get solution
open properties
write in command
/opt/google/chrome/google-chrome %U to /opt/google/chrome/google-chrome –user-data-dir %U
try
google-chrome -user-data-dir %U
it will make it run under root eve :)
Cheers
Ghan Vashishtha
[email protected]
Yes,, its working
thanks a lot….
sir i am not able to reloging google-chrome in root user
@Ankush,
Try to run with normal user…