How To Install gdk-pixbuf2-xlib on Rocky Linux 8

In this tutorial we learn how to install gdk-pixbuf2-xlib on Rocky Linux 8. gdk-pixbuf2-xlib is Additional library for using gdk-pixbuf with bare xlib

Introduction

In this tutorial we learn how to install gdk-pixbuf2-xlib on Rocky Linux 8.

What is gdk-pixbuf2-xlib

This package contains the old libgdk-pixbuf-xlib library that is needed by some programs to load GdkPixbuf using bare XLib calls.

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

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

sudo dnf -y install gdk-pixbuf2-xlib

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

sudo yum -y install gdk-pixbuf2-xlib

How To Uninstall gdk-pixbuf2-xlib on Rocky Linux 8

To uninstall only the gdk-pixbuf2-xlib package we can use the following command:

sudo dnf remove gdk-pixbuf2-xlib

gdk-pixbuf2-xlib Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/ec75d211268dd5459e0b8203f6c58b5e15793c
/usr/lib64/libgdk_pixbuf_xlib-2.0.so.0
/usr/lib64/libgdk_pixbuf_xlib-2.0.so.0.3612.0
/usr/lib/.build-id
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/2710d68ca4831772479488cffac24af41da2cc
/usr/lib/libgdk_pixbuf_xlib-2.0.so.0
/usr/lib/libgdk_pixbuf_xlib-2.0.so.0.3612.0

References

Summary

In this tutorial we learn how to install gdk-pixbuf2-xlib on Rocky Linux 8 using yum and dnf.