How To Install rgb on Fedora 36

In this tutorial we learn how to install rgb in Fedora 36. rgb is X color name database

Introduction

In this tutorial we learn how to install rgb on Fedora 36.

What is rgb

This package includes both the list mapping X color names to RGB values (rgb.txt) and, if configured to use a database for color lookup, the rgb program to convert the text file into the binary database format.

We can use yum or dnf to install rgb on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rgb.

Install rgb on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rgb

Install rgb on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rgb

How To Uninstall rgb on Fedora 36

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

sudo dnf remove rgb

rgb Package Contents on Fedora 36

/usr/bin/showrgb
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/2ee737a2f6a44df131c0523f81fc81d475428d
/usr/share/X11/rgb.txt
/usr/share/man/man1/showrgb.1.gz

References

Summary

In this tutorial we learn how to install rgb on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).