How To Install LibRaw on Fedora 34
Introduction
In this tutorial we learn how to install LibRaw on Fedora 34.
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.20.2 2.fc34 x86_64 382 k LibRaw-0.20.2-2.fc34.src.rpm fedora 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install LibRaw.
Install LibRaw on Fedora 34 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the LibRaw package we can use the following command:
sudo dnf remove LibRaw
LibRaw Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/cf15613444427dcaa981f8c956135a930578ee
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/3e5c9853ef8ee43bcd6d06498029ffa4ed210f
/usr/lib/libraw.so.20
/usr/lib/libraw.so.20.0.0
/usr/lib/libraw_r.so.20
/usr/lib/libraw_r.so.20.0.0
/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/aa
/usr/lib/.build-id/aa/f923ae70d27081af77a8f00729dbd120c457b8
/usr/lib/.build-id/da
/usr/lib/.build-id/da/4f09bf074de55e3e01751e78f51a70939be945
/usr/lib64/libraw.so.20
/usr/lib64/libraw.so.20.0.0
/usr/lib64/libraw_r.so.20
/usr/lib64/libraw_r.so.20.0.0
/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 Fedora 34 using yum and dnf.