How To Install dcmtk on CentOS 8
Introduction
In this tutorial we learn how to install dcmtk on CentOS 8.
What is dcmtk
DCMTK is a collection of libraries and applications implementing large parts the DICOM standard. It includes software for examining, constructing and converting DICOM image files, handling offline media, sending and receiving images over a network connection, as well as demonstrative image storage and worklist servers. DCMTK is is written in a mixture of ANSI C and C++. It comes in complete source code and is made available as “open source” software. This package includes multiple fixes taken from the “patched DCMTK” project. Install DCMTK if you are working with DICOM format medical image files.
We can use yum or dnf to install dcmtk on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dcmtk.
Install dcmtk on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install dcmtk using yum by running the following command:
sudo yum -y install dcmtk
Install dcmtk on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install dcmtk using dnf by running the following command:
sudo dnf -y install dcmtk
How To Uninstall dcmtk on CentOS 8
To uninstall only the dcmtk package we can use the following command:
sudo dnf remove dcmtk
References
Summary
In this tutorial we learn how to install dcmtk on CentOS 8 using yum and dnf.