How To Install pixman on Rocky Linux 8

In this tutorial we learn how to install pixman on Rocky Linux 8. pixman is Pixel manipulation library

Introduction

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

What is pixman

Pixman is a pixel manipulation library for X and Cairo.

We can use yum or dnf to install pixman on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pixman.

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

sudo dnf -y install pixman

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

sudo yum -y install pixman

How To Uninstall pixman on Rocky Linux 8

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

sudo dnf remove pixman

pixman Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/b106c2a670be3033ed2e879a30c57c5adef71a
/usr/lib64/libpixman-1.so.0
/usr/lib64/libpixman-1.so.0.38.4
/usr/share/doc/pixman
/usr/share/doc/pixman/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/ef290a06e10a92245389d9a874defa3f7ef0ea
/usr/lib/libpixman-1.so.0
/usr/lib/libpixman-1.so.0.38.4
/usr/share/doc/pixman
/usr/share/doc/pixman/COPYING

References

Summary

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