How to configure pngquant on a Linux server?

I want to configure pngquant to my Linux server, but I do not know which ssh command to use to configure it.

This library website is http://pngquant.org/ , but there is no documentation on installing it on the server via SSH

+4
source share
2 answers

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

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

Then extract the downloaded archive:

tar xzf master

Then cd to any directory created:

cd ...

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

to do

If this does not produce any errors, you can install it on a system scale by running make install as superuser (root):

sudo make install

Or, if sudo is not available in your distribution:

su root

make installation

Exit

And there you have it.

+5
source
 sudo yum install -y epel-release pngquant 
+3
source

Source: https://habr.com/ru/post/1498835/


All Articles