How To Install LibRaw on CentOS 8
Introduction
In this tutorial we learn how to install LibRaw
on CentOS 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. LibRaw 0.19.5 2.el8 x86_64 316 k LibRaw-0.19.5-2.el8.src.rpm appstream Library for reading RAW files obtained from digital photo cameras http BSD and (CDDL or LGPLv2) 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install LibRaw.
Install LibRaw on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install LibRaw
using dnf
by running the following command:
sudo dnf -y install LibRaw
Install LibRaw on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the LibRaw
package we can use the following command:
sudo dnf remove LibRaw
LibRaw Package Contents on CentOS 8
/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
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/de911b810cf1e50cd2f2a4dbfff13740dc6e67
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/63817abd421911b12e2351bc148992be9ae9aa
/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
References
- [LibRaw website](http://www.libraw.org http://www.libraw.org)
Summary
In this tutorial we learn how to install LibRaw
on CentOS 8 using yum and dnf.