How To Install imlib2-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install imlib2-devel
on Rocky Linux 8.
What is imlib2-devel
This package contains development files for imlib2. Imlib 2 is a library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support, etc. It does ALL of these operations FAST. Imlib2 also tries to be highly intelligent about doing them, so writing naive programs can be done easily, without sacrificing speed. This is a complete rewrite over the Imlib 1.x series. The architecture is more modular, simple, and flexible.
We can use yum
or dnf
to install imlib2-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install imlib2-devel.
Install imlib2-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install imlib2-devel
using dnf
by running the following command:
sudo dnf -y install imlib2-devel
Install imlib2-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install imlib2-devel
using yum
by running the following command:
sudo yum -y install imlib2-devel
How To Uninstall imlib2-devel on Rocky Linux 8
To uninstall only the imlib2-devel
package we can use the following command:
sudo dnf remove imlib2-devel
imlib2-devel Package Contents on Rocky Linux 8
/usr/bin/imlib2-config
/usr/include/Imlib2.h
/usr/lib64/libImlib2.so
/usr/lib64/pkgconfig/imlib2.pc
/usr/share/doc/imlib2-devel
/usr/share/doc/imlib2-devel/blank.gif
/usr/share/doc/imlib2-devel/imlib2.gif
/usr/share/doc/imlib2-devel/index.html
References
Summary
In this tutorial we learn how to install imlib2-devel
on Rocky Linux 8 using yum and dnf.