Skip to content

Instantly share code, notes, and snippets.

@potix2
Created March 27, 2019 11:42
Show Gist options
  • Save potix2/52834a4f9fdc0a6bf2eadee38bb6b9b9 to your computer and use it in GitHub Desktop.
Save potix2/52834a4f9fdc0a6bf2eadee38bb6b9b9 to your computer and use it in GitHub Desktop.
Install modules to use puppeteer on Amazon Linux
sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/atk-2.28.1-1.el7.x86_64.rpm
sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-atk-2.26.2-1.el7.x86_64.rpm
sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-core-2.28.0-1.el7.x86_64.rpm
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
sudo yum install -y nodejs gcc-c++ make cups-libs dbus-glib libXrandr libXcursor libXinerama cairo cairo-gobject pango libXScrnSaver gtk3
sudo yum install -y libX11 libXcomposite libXcursor libXdamage libXext libXi libXtst cups-libs libXScrnSaver libXrandr alsa-lib pango gtk3
mkdir puppeteer
cd puppeteer/
npm install puppeteer
@opsJson
Copy link

opsJson commented Jun 2, 2023

thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment