How To Install libpng-devel.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libpng-devel.x86_64 on Amazon Linux 2.
What is libpng-devel.x86_64
The libpng-devel package contains header files and documentation necessary for developing programs using the PNG (Portable Network Graphics) library. If you want to develop programs which will manipulate PNG image format files, you should install libpng-devel. You’ll also need to install the libpng package.
We can use yum to install libpng-devel.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-devel.x86_64.
Install libpng-devel.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-devel.x86_64 using yum by running the following command:
sudo yum -y install libpng-devel.x86_64
How To Uninstall libpng-devel.x86_64 on Amazon Linux 2
To uninstall only the libpng-devel.x86_64 package we can use the following command:
sudo yum remove libpng-devel.x86_64
libpng-devel.x86_64 Package Contents on Amazon Linux 2
/usr/bin/libpng-config
/usr/bin/libpng15-config
/usr/include/libpng15
/usr/include/libpng15/png.h
/usr/include/libpng15/pngconf.h
/usr/include/libpng15/pnglibconf.h
/usr/include/png.h
/usr/include/pngconf.h
/usr/include/pnglibconf.h
/usr/lib64/libpng.so
/usr/lib64/libpng15.so
/usr/lib64/pkgconfig/libpng.pc
/usr/lib64/pkgconfig/libpng15.pc
/usr/share/man/man3/libpng.3.gz
/usr/share/man/man3/libpngpf.3.gz
References
Summary
In this tutorial we learn how to install libpng-devel.x86_64 on Amazon Linux 2 using yum.