How To Install lcms2 on Rocky Linux 8

In this tutorial we learn how to install lcms2 on Rocky Linux 8. lcms2 is Color Management Engine

Introduction

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

What is lcms2

LittleCMS intends to be a small-footprint, speed optimized color management engine in open source form. LCMS2 is the current version of LCMS, and can be parallel installed with the original (deprecated) lcms.

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

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

sudo dnf -y install lcms2

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

sudo yum -y install lcms2

How To Uninstall lcms2 on Rocky Linux 8

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

sudo dnf remove lcms2

lcms2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/d3509a9cfa6acbdfacdce1eb59f8cdbe7970fb
/usr/lib64/liblcms2.so.2
/usr/lib64/liblcms2.so.2.0.8
/usr/share/doc/lcms2
/usr/share/doc/lcms2/AUTHORS
/usr/share/licenses/lcms2
/usr/share/licenses/lcms2/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/32167c984af1a79f9fcd14c50afab1c2f0530d
/usr/lib/liblcms2.so.2
/usr/lib/liblcms2.so.2.0.8
/usr/share/doc/lcms2
/usr/share/doc/lcms2/AUTHORS
/usr/share/licenses/lcms2
/usr/share/licenses/lcms2/COPYING

References

Summary

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