How To Install LibRaw on Rocky Linux 8

In this tutorial we learn how to install LibRaw on Rocky Linux 8. LibRaw is Library for reading RAW files obtained from digital photo cameras

Introduction

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

What is LibRaw

LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others). LibRaw is based on the source codes of the dcraw utility, where part of drawbacks have already been eliminated and part will be fixed in future.

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

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

sudo dnf -y install LibRaw

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

sudo yum -y install LibRaw

How To Uninstall LibRaw on Rocky Linux 8

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

sudo dnf remove LibRaw

LibRaw Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/9f1169ea7f27219b37b250450eb54704dc3dee
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/438e0a2bba326a143d0c05b29d4201a31d2e3d
/usr/lib/libraw.so.19
/usr/lib/libraw.so.19.0.2
/usr/lib/libraw_r.so.19
/usr/lib/libraw_r.so.19.0.2
/usr/share/doc/LibRaw
/usr/share/doc/LibRaw/Changelog.txt
/usr/share/licenses/LibRaw
/usr/share/licenses/LibRaw/COPYRIGHT
/usr/share/licenses/LibRaw/LICENSE.CDDL
/usr/share/licenses/LibRaw/LICENSE.LGPL
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/34ab568e782f39ece105689dec0520631046bf
/usr/lib/.build-id/de
/usr/lib/.build-id/de/095076066ca8936c37b743cb82fc30880b5089
/usr/lib64/libraw.so.19
/usr/lib64/libraw.so.19.0.2
/usr/lib64/libraw_r.so.19
/usr/lib64/libraw_r.so.19.0.2
/usr/share/doc/LibRaw
/usr/share/doc/LibRaw/Changelog.txt
/usr/share/licenses/LibRaw
/usr/share/licenses/LibRaw/COPYRIGHT
/usr/share/licenses/LibRaw/LICENSE.CDDL
/usr/share/licenses/LibRaw/LICENSE.LGPL

References

Summary

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