Created
March 27, 2019 11:42
-
-
Save potix2/52834a4f9fdc0a6bf2eadee38bb6b9b9 to your computer and use it in GitHub Desktop.
Install modules to use puppeteer on Amazon Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thx.