How To Install dicomanonymizer on Fedora 36

In this tutorial we learn how to install dicomanonymizer in Fedora 36. dicomanonymizer is A multi-threaded anonymizer for DICOM files

Introduction

In this tutorial we learn how to install dicomanonymizer on Fedora 36.

What is dicomanonymizer

A multi-threaded anonymizer for DICOM files implementing most of DICOM PS 3.15 AnnexE. Entries such as uid entries are replaced with hash values. This ensures that partial runs of a studies DICOM files can be merged afterwards. This project is written in C++ using the gdcm library and multiple threads to accelerate processing. Warning de-identification. Instead of a white list of allowed tags the tool keeps a list of tags known to frequently contain personal identifying information (PII) and replaces only those. On the command line you specify a patient identifier (PatientID/PatientName). Only if you do not keep a mapping of the new and the old identifier this is considered an anonymization. If such a list exists the operation performed is a de-identification (permits a later re-identification).

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

Install dicomanonymizer on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install dicomanonymizer

Install dicomanonymizer on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dicomanonymizer using yum by running the following command:

sudo yum -y install dicomanonymizer

How To Uninstall dicomanonymizer on Fedora 36

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

sudo dnf remove dicomanonymizer

dicomanonymizer Package Contents on Fedora 36

/usr/bin/dicomanonymize
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/9e72f4b126d04bfabaf705c6eb964200b5fc84
/usr/share/doc/dicomanonymizer
/usr/share/doc/dicomanonymizer/README.md
/usr/share/licenses/dicomanonymizer
/usr/share/licenses/dicomanonymizer/LICENSE

References

Summary

In this tutorial we learn how to install dicomanonymizer on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).