How To Install imlib2-devel on AlmaLinux 8

In this tutorial we learn how to install imlib2-devel in AlmaLinux 8. imlib2-devel is Development package for imlib2

Introduction

In this tutorial we learn how to install imlib2-devel on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

To uninstall only the imlib2-devel package we can use the following command:

sudo dnf remove imlib2-devel

References

Summary

In this tutorial we learn how to install imlib2-devel on AlmaLinux 8 using yum and dnf.