Q: How to setup pngquant to Linux server? I want to setup pngquant to my linux server but I don't know which ssh command should I use to setup it.
This library's web site is http://pngquant.org/ but there is no documentation about installing it to server via SSH

A: sudo yum install -y epel-release pngquant


A: You should connect to your server via SSH, then download the sources (using wget) :

wget https://github.com/pornel/pngquant/tarball/master

Then extract the downloaded tarball :

tar xzf master

Then cd to whatever directory that created :

cd ...

According to their documentation, you just need to make it :

make

If that doesn't output any errors, you can install it system-wide by running make install as superuser (root) :

sudo make install

Or, if sudo isn't available in your distribution :

su root
make install
exit

And there you have it.
