How To Install imlib2 on Fedora 34

imlib2 is Image loading, saving, rendering, and manipulation library Image loading, saving, rendering, and manipulation library

Introduction

In this tutorial we learn how to install imlib2 on Fedora 34.

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. imlib2 1.6.1 3.fc34 x86_64 224 k imlib2-1.6.1-3.fc34.src.rpm fedora Image loading, saving, rendering, and manipulation library http 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install imlib2.

Install imlib2 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install imlib2 using dnf by running the following command:

sudo dnf -y install imlib2

Install imlib2 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove imlib2

imlib2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/8c4c78b07a9bd144092a092c37cca261fc8630
/usr/lib/.build-id/08
/usr/lib/.build-id/08/387efabff47356d635c2fdbd5420881103d352
/usr/lib/.build-id/11
/usr/lib/.build-id/11/a94770b5c5cec17f7d6173362568dddad8850e
/usr/lib/.build-id/13
/usr/lib/.build-id/13/6552440e7158ae3fdc3d288450b0b9226c57d6
/usr/lib/.build-id/41
/usr/lib/.build-id/41/6ad354d0dde629d0d6b67037b90e6fc8679b38
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/756c98e03be035ebb482abf6301a95a18b5e8f
/usr/lib/.build-id/64
/usr/lib/.build-id/64/6c9eb1cc3144f76e5966147daf2c5e1094611a
/usr/lib/.build-id/64/d2d178fdabec9ef5d6a665a785ab459f226bf4
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/21240a293eda4ef38ce8e3d66bf8b835d636b1
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/ad8aeceaebf75a6e129fca202d987593c0de68
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/e1587517925e6552014b1f1a2e6f33df9bfb0c
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/1c8605a1d1def6db8328e5e1d5a610d33c1e15
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/64ddde19b9ad3ec2d7db0cfcc5a82ebfb74f5d
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/3145f6b0914c32d7f0bb67155621ff8e77bf22
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/e8c6867753ae6c1368c46e82776b3dd2a558b8
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/e494cc209c6c3296ddbda53e841952abc5d68c
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/2988ec133eebca2d837b20dcab3c6212a22345
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/14f3b1a6a479c87332aa44be7a7ed1526b9d1e
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/1642e5e2eadc83a6dc2d5cd3ab1e7383a0fc2c
/usr/lib/imlib2
/usr/lib/imlib2/filters
/usr/lib/imlib2/filters/bumpmap.so
/usr/lib/imlib2/filters/colormod.so
/usr/lib/imlib2/filters/testfilter.so
/usr/lib/imlib2/loaders
/usr/lib/imlib2/loaders/argb.so
/usr/lib/imlib2/loaders/bmp.so
/usr/lib/imlib2/loaders/bz2.so
/usr/lib/imlib2/loaders/ff.so
/usr/lib/imlib2/loaders/gif.so
/usr/lib/imlib2/loaders/ico.so
/usr/lib/imlib2/loaders/jpeg.so
/usr/lib/imlib2/loaders/lbm.so
/usr/lib/imlib2/loaders/png.so
/usr/lib/imlib2/loaders/pnm.so
/usr/lib/imlib2/loaders/tga.so
/usr/lib/imlib2/loaders/tiff.so
/usr/lib/imlib2/loaders/xpm.so
/usr/lib/imlib2/loaders/zlib.so
/usr/lib/libImlib2.so.1
/usr/lib/libImlib2.so.1.6.1
/usr/share/doc/imlib2
/usr/share/doc/imlib2/AUTHORS
/usr/share/doc/imlib2/README
/usr/share/doc/imlib2/TODO
/usr/share/licenses/imlib2
/usr/share/licenses/imlib2/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/5f78999a3d2cad28a77b329c12ba62222ae975
/usr/lib/.build-id/14
/usr/lib/.build-id/14/9022b39217a686c45694f60be9de5557b968ef
/usr/lib/.build-id/43
/usr/lib/.build-id/43/74cbcccdbf6a8324f17b81aeda72a8dd3b305c
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/c48c492fb4709df015af7393f3242be62d429f
/usr/lib/.build-id/50
/usr/lib/.build-id/50/fcbb806eac9856df4a5aa7f4bfc72fa475ff4d
/usr/lib/.build-id/81
/usr/lib/.build-id/81/d47e591e74eaf29e006df46936cb69dff34515
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/f71ef5f4f4cc9023ccc8c896c1ce2e4a4468cc
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/f117cda66f883a96a094b435aa27d8cdbc6a44
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/58bd4eed61c4f174ae2442ff4425592ff44d80
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/9542be5a4326001057281798f90bfbcdeb6250
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/cabe961b4f8f06717e5c245b4dd905be32f80f
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/8ebd13b3073428e31b7ef3c19f96c3e093fb75
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/4473265d7e936a3020c4c88a3e407e54ae59a8
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/7faed7a41471946688531c46bf6fdcd43b1908
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/94de5fd6bc4ca166ecd6348fbe5e1cb3e2fd6b
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/c68cf28d1fe7ebe813ee4d1d9fd20683f68ffd
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/71cfa6d33cd33456575b77f9d390e519924220
/usr/lib/.build-id/fd/b0206cfb1c69ac363066abeaddcf616291feae
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/ae400950de83314094eb482e176073da1fe46b
/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/ico.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.6.1
/usr/share/doc/imlib2
/usr/share/doc/imlib2/AUTHORS
/usr/share/doc/imlib2/README
/usr/share/doc/imlib2/TODO
/usr/share/licenses/imlib2
/usr/share/licenses/imlib2/COPYING

References

Summary

In this tutorial we learn how to install imlib2 on Fedora 34 using yum and dnf.