How To Install dcmtk-devel on AlmaLinux 8

In this tutorial we learn how to install dcmtk-devel in AlmaLinux 8. dcmtk-devel is Development Libraries and Headers for dcmtk

Introduction

In this tutorial we learn how to install dcmtk-devel on AlmaLinux 8.

What is dcmtk-devel

Development Libraries and Headers for dcmtk. You only need to install this if you are developing programs that use the dcmtk libraries.

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

Install dcmtk-devel on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install dcmtk-devel using dnf by running the following command:

sudo dnf -y install dcmtk-devel

Install dcmtk-devel on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dcmtk-devel using yum by running the following command:

sudo yum -y install dcmtk-devel

How To Uninstall dcmtk-devel on AlmaLinux 8

To uninstall only the dcmtk-devel package we can use the following command:

sudo dnf remove dcmtk-devel

References

Summary

In this tutorial we learn how to install dcmtk-devel on AlmaLinux 8 using yum and dnf.