Skip to content

Instantly share code, notes, and snippets.

@lesstif
Created August 29, 2019 07:38
Show Gist options
  • 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