How To Install dcraw on CentOS 8

dcraw is Tool for decoding raw image data from digital cameras

Introduction

In this tutorial we learn how to install dcraw on CentOS 8.

What is dcraw

This package contains dcraw, a command line tool to decode raw image data downloaded from digital cameras.

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

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

sudo dnf -y install dcraw

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

sudo yum -y install dcraw

How To Uninstall dcraw on CentOS 8

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

sudo dnf remove dcraw

dcraw Package Contents on CentOS 8

/usr/bin/dcraw
/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/426a4065016750991e7612a5b24ddd8cd0a6a4
/usr/share/locale/ca/LC_MESSAGES/dcraw.mo
/usr/share/locale/cs/LC_MESSAGES/dcraw.mo
/usr/share/locale/da/LC_MESSAGES/dcraw.mo
/usr/share/locale/de/LC_MESSAGES/dcraw.mo
/usr/share/locale/eo/LC_MESSAGES/dcraw.mo
/usr/share/locale/es/LC_MESSAGES/dcraw.mo
/usr/share/locale/fr/LC_MESSAGES/dcraw.mo
/usr/share/locale/hu/LC_MESSAGES/dcraw.mo
/usr/share/locale/it/LC_MESSAGES/dcraw.mo
/usr/share/locale/ja/LC_MESSAGES/dcraw.mo
/usr/share/locale/nl/LC_MESSAGES/dcraw.mo
/usr/share/locale/pl/LC_MESSAGES/dcraw.mo
/usr/share/locale/pt/LC_MESSAGES/dcraw.mo
/usr/share/locale/ro/LC_MESSAGES/dcraw.mo
/usr/share/locale/ru/LC_MESSAGES/dcraw.mo
/usr/share/locale/sv/LC_MESSAGES/dcraw.mo
/usr/share/locale/zh_CN/LC_MESSAGES/dcraw.mo
/usr/share/locale/zh_TW/LC_MESSAGES/dcraw.mo
/usr/share/man/ca/man1/dcraw.1.gz
/usr/share/man/cs/man1/dcraw.1.gz
/usr/share/man/da/man1/dcraw.1.gz
/usr/share/man/de/man1/dcraw.1.gz
/usr/share/man/eo/man1/dcraw.1.gz
/usr/share/man/es/man1/dcraw.1.gz
/usr/share/man/fr/man1/dcraw.1.gz
/usr/share/man/hu/man1/dcraw.1.gz
/usr/share/man/it/man1/dcraw.1.gz
/usr/share/man/ja/man1/dcraw.1.gz
/usr/share/man/man1/dcraw.1.gz
/usr/share/man/nl/man1/dcraw.1.gz
/usr/share/man/pl/man1/dcraw.1.gz
/usr/share/man/pt/man1/dcraw.1.gz
/usr/share/man/ro/man1/dcraw.1.gz
/usr/share/man/ru/man1/dcraw.1.gz
/usr/share/man/sv/man1/dcraw.1.gz
/usr/share/man/zh_CN/man1/dcraw.1.gz
/usr/share/man/zh_TW/man1/dcraw.1.gz

References

Summary

In this tutorial we learn how to install dcraw on CentOS 8 using yum and dnf.