How To Install optipng.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install optipng.x86_64 on Amazon Linux 2.
What is optipng.x86_64
OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information. This program also converts external formats (BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG integrity checks and corrections.
We can use yum to install optipng.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install optipng.x86_64.
Install optipng.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 optipng.x86_64 using yum by running the following command:
sudo yum -y install optipng.x86_64
How To Uninstall optipng.x86_64 on Amazon Linux 2
To uninstall only the optipng.x86_64 package we can use the following command:
sudo yum remove optipng.x86_64
optipng.x86_64 Package Contents on Amazon Linux 2
/usr/bin/optipng
/usr/share/doc/optipng-0.7.7
/usr/share/doc/optipng-0.7.7/AUTHORS.txt
/usr/share/doc/optipng-0.7.7/README.txt
/usr/share/doc/optipng-0.7.7/history.txt
/usr/share/doc/optipng-0.7.7/optipng.man.html
/usr/share/doc/optipng-0.7.7/optipng.man.pdf
/usr/share/doc/optipng-0.7.7/optipng.man.txt
/usr/share/doc/optipng-0.7.7/png_optimization.html
/usr/share/doc/optipng-0.7.7/todo.txt
/usr/share/licenses/optipng-0.7.7
/usr/share/licenses/optipng-0.7.7/LICENSE.txt
/usr/share/man/man1/optipng.1.gz
References
Summary
In this tutorial we learn how to install optipng.x86_64 on Amazon Linux 2 using yum.