I am trying to install the latest version of Google Chrome on Amazon Linux using yum.

As far as I can tell Amazon Linux is based on RHEL/Centos however, it doesn't look like Google support this directly anymore.

I followed the instructions from http://www.raywaresoftware.com/10/using_yum_to_install_google_chrome/ however, when it comes to installing using the command

yum install google-chrome-stable

This command outputs the errors

Error: Package: google-chrome-stable-44.0.2403.157-1.x86_64 (google-chrome) Requires: libXss.so.1()(64bit)

Error: Package: google-chrome-stable-44.0.2403.157-1.x86_64 (google-chrome) Requires: libgconf-2.so.4()(64bit)

I have tried to install libXss using the command

yum install libXScrnSaver

However, I get the message:

2498 packages excluded due to repository priority protections No package libXScrnSaver available. Error: Nothing to do

How can I install the missing packages?

I am now stuck because we need to install Chrome on a server to run headless UI tests via Xvfb but we cannot get Chrome onto the server.


  • 4
    For a myriad of reasons (including this one), I recommend that people stay far away from Amazon Linux. Just stick with a widely-used and widely-supported distro. If you want a RHEL derivative, go with CentOS. – EEAA Aug 28 '15 at 14:23
  • 3
    Amazon Linux forked from CentOS 5, several years ago, and bears little resemblance to it now. It is not compatible and it is not stable. Run away. – Michael Hampton Aug 28 '15 at 16:21

There is an AWS Forums thread detailing how to do this at https://forums.aws.amazon.com/thread.jspa?threadID=229187

Also, there is a more recent blog at https://medium.com/@davidkadlec/installing-google-chrome-on-amazon-linux-ec2-d1cb6aa37f28

  • David, generally Server Fault asks that answers contain the required information, rather than just links. Links stop working fairly regularly, in which case the answer isn't useful. – Tim Aug 22 '17 at 4:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.