Skip to content

Instantly share code, notes, and snippets.

@lesstif
Created August 29, 2019 07:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lesstif/7383e5b46e3f420ef6f935d0eb0e3be9 to your computer and use it in GitHub Desktop.
Save lesstif/7383e5b46e3f420ef6f935d0eb0e3be9 to your computer and use it in GitHub Desktop.
compile script for pngquant on RHEL/CentOS and Amazon Linux
#!/bin/bash
git clone https://github.com/kornelski/pngquant
cd pngquant
git checkout -b 2.12.3
sudo yum install libpng-devel -y
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment