How To Install imlib2 on Rocky Linux 8

In this tutorial we learn how to install imlib2 on Rocky Linux 8. imlib2 is Image loading, saving, rendering, and manipulation library

Introduction

In this tutorial we learn how to install imlib2 on Rocky Linux 8.

What is 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 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install imlib2.

Install imlib2 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 using dnf by running the following command:

sudo dnf -y install imlib2

Install imlib2 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 using yum by running the following command:

sudo yum -y install imlib2

How To Uninstall imlib2 on Rocky Linux 8

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

sudo dnf remove imlib2

imlib2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/5a311f5bdbbe2411ac58d6d7859b74e3ce92b4
/usr/lib/.build-id/15
/usr/lib/.build-id/15/4ee211d051a3543cb92906a4c3088f9e6099e0
/usr/lib/.build-id/21
/usr/lib/.build-id/21/15668328d0d43389217de022cd8759de8005e7
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/49321659f133aef572d93355818ab50406ad97
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/628617a5c1677d844f9938fcbe2edb5606f1bb
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/d5fbe1111917d91f0300d50f6d72e090340ad7
/usr/lib/.build-id/61
/usr/lib/.build-id/61/e0024a645bf047e881a929b6417b6b5b447349
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/fd7d3c45aec4443d73aa1d4a926a5938f0caa7
/usr/lib/.build-id/86
/usr/lib/.build-id/86/dd6fcd59dbbe149e03a10e30650861a2fb0840
/usr/lib/.build-id/89
/usr/lib/.build-id/89/3b5a1b60e20016e8f78d96412dda0a02129f93
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/7f241ad5d2b1ec166b08e0462bfea71f46abad
/usr/lib/.build-id/93
/usr/lib/.build-id/93/cfe9bcedb95831eaccfd1b82bed7d0f3508e74
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/b5b907841f49ea100bc26432d55bf5ce18c88b
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/7abbf193fc7f51cdd2a9dca35c065e3f19b8e7
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/44c6246ba15995f6d4c9f173d426101298d08b
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/cf84b586e84cc93f47d6926878b51acc67d3e8
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/0b49b2cd38b276a2bf89d3244902fc99f015ff
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/0f221f5aeb8e90ee3311630d45506e66a22721
/usr/lib64/imlib2
/usr/lib64/imlib2/filters
/usr/lib64/imlib2/filters/bumpmap.so
/usr/lib64/imlib2/filters/colormod.so
/usr/lib64/imlib2/filters/testfilter.so
/usr/lib64/imlib2/loaders
/usr/lib64/imlib2/loaders/argb.so
/usr/lib64/imlib2/loaders/bmp.so
/usr/lib64/imlib2/loaders/bz2.so
/usr/lib64/imlib2/loaders/ff.so
/usr/lib64/imlib2/loaders/gif.so
/usr/lib64/imlib2/loaders/jpeg.so
/usr/lib64/imlib2/loaders/lbm.so
/usr/lib64/imlib2/loaders/png.so
/usr/lib64/imlib2/loaders/pnm.so
/usr/lib64/imlib2/loaders/tga.so
/usr/lib64/imlib2/loaders/tiff.so
/usr/lib64/imlib2/loaders/xpm.so
/usr/lib64/imlib2/loaders/zlib.so
/usr/lib64/libImlib2.so.1
/usr/lib64/libImlib2.so.1.4.9
/usr/share/doc/imlib2
/usr/share/doc/imlib2/AUTHORS
/usr/share/doc/imlib2/COPYING
/usr/share/doc/imlib2/README
/usr/share/doc/imlib2/TODO

References

Summary

In this tutorial we learn how to install imlib2 on Rocky Linux 8 using yum and dnf.