How To Install libpng12.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libpng12.x86_64
on Amazon Linux 2.
What is libpng12.x86_64
The libpng12 package provides libpng 1.2, an older version of the libpng library for manipulating PNG (Portable Network Graphics) image format files. This version should be used only if you are unable to use the current version of libpng.
We can use yum
to install libpng12.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libpng12.x86_64.
Install libpng12.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 libpng12.x86_64
using yum
by running the following command:
sudo yum -y install libpng12.x86_64
How To Uninstall libpng12.x86_64 on Amazon Linux 2
To uninstall only the libpng12.x86_64
package we can use the following command:
sudo yum remove libpng12.x86_64
libpng12.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libpng.so.3
/usr/lib64/libpng.so.3.50.0
/usr/lib64/libpng12.so.0
/usr/lib64/libpng12.so.0.50.0
/usr/share/doc/libpng12-1.2.50
/usr/share/doc/libpng12-1.2.50/CHANGES
/usr/share/doc/libpng12-1.2.50/LICENSE
/usr/share/doc/libpng12-1.2.50/README
/usr/share/doc/libpng12-1.2.50/TODO
/usr/share/doc/libpng12-1.2.50/libpng-1.2.50.txt
/usr/share/man/man5/png12.5.gz
References
Summary
In this tutorial we learn how to install libpng12.x86_64
on Amazon Linux 2 using yum.