How To Install dicomanonymizer on Fedora 34
Introduction
In this tutorial we learn how to install dicomanonymizer
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install dicomanonymizer.
Install dicomanonymizer 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 dicomanonymizer
using dnf
by running the following command:
sudo dnf -y install dicomanonymizer
Install dicomanonymizer 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 dicomanonymizer
using yum
by running the following command:
sudo yum -y install dicomanonymizer
How To Uninstall dicomanonymizer on Fedora 34
To uninstall only the dicomanonymizer
package we can use the following command:
sudo dnf remove dicomanonymizer
dicomanonymizer Package Contents on Fedora 34
/usr/bin/dicomanonymize
/usr/lib/.build-id
/usr/lib/.build-id/95
/usr/lib/.build-id/95/828b854ac2bacfe87bb1d7f7a164556912e104
/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 34 using yum and dnf.