How To Install pngnq.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pngnq.x86_64 in Amazon Linux 2. pngnq.x86_64 is Pngnq is a tool for quantizing PNG images in RGBA format

Introduction

In this tutorial we learn how to install pngnq.x86_64 on Amazon Linux 2.

What is pngnq.x86_64

Pngnq is a tool for quantizing PNG images in RGBA format. The neuquant algorithm uses a neural network to optimise the color map selection. This is fast and quite accurate, giving good results on many types of images.

We can use yum to install pngnq.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pngnq.x86_64.

Install pngnq.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pngnq.x86_64 using yum by running the following command:

sudo yum -y install pngnq.x86_64

How To Uninstall pngnq.x86_64 on Amazon Linux 2

To uninstall only the pngnq.x86_64 package we can use the following command:

sudo yum remove pngnq.x86_64

pngnq.x86_64 Package Contents on Amazon Linux 2

/usr/bin/pngcomp
/usr/bin/pngnq
/usr/share/doc/pngnq-1.1
/usr/share/doc/pngnq-1.1/COPYING
/usr/share/doc/pngnq-1.1/README
/usr/share/man/man1/pngnq.1.gz

References

Summary

In this tutorial we learn how to install pngnq.x86_64 on Amazon Linux 2 using yum.