How To Install pnglite on CentOS 7
Introduction
In this tutorial we learn how to install pnglite
on CentOS 7.
What is pnglite
pnglite is a C library for loading PNG images. It was created as a substitute for libpng in situations when libpng is more than enough. It currently requires zlib for inflate and crc checking and it can read the most common types of PNG images. The library has a small and simple to use interface.
We can use yum
or dnf
to install pnglite
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install pnglite.
Install pnglite on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install pnglite
using yum
by running the following command:
Install pnglite on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install pnglite
using dnf
by running the following command:
How To Uninstall pnglite on CentOS 7
To uninstall only the pnglite
package we can use the following command:
References
Summary
In this tutorial we learn how to install pnglite
on CentOS 7 using yum
and dnf
.