How To Install libpng-static.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libpng-static.x86_64 on Amazon Linux 2.
What is libpng-static.x86_64
The libpng-static package contains the statically linkable version of libpng. Linking to static libraries is discouraged for most applications, but it is necessary for some boot packages.
We can use yum to install libpng-static.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libpng-static.x86_64.
Install libpng-static.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 libpng-static.x86_64 using yum by running the following command:
sudo yum -y install libpng-static.x86_64
How To Uninstall libpng-static.x86_64 on Amazon Linux 2
To uninstall only the libpng-static.x86_64 package we can use the following command:
sudo yum remove libpng-static.x86_64
libpng-static.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libpng.a
/usr/lib64/libpng15.a
References
Summary
In this tutorial we learn how to install libpng-static.x86_64 on Amazon Linux 2 using yum.