Installing Google Chrome on Amazon Linux
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
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
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.
Thanks
-
Tim almost 7 yearsDavid, 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.