How To Install gdcm on Fedora 34

gdcm is Grassroots DiCoM is a C++ library to parse DICOM medical files Grassroots DiCoM is a C++ library to parse DICOM medical files

Introduction

In this tutorial we learn how to install gdcm on Fedora 34.

What is gdcm

Grassroots DiCoM (GDCM) is a C++ library for DICOM medical files. It supports ACR-NEMA version 1 and 2 (huffman compression is not supported), RAW, JPEG, JPEG 2000, JPEG-LS, RLE and deflated transfer syntax. It comes with a super fast scanner implementation to quickly scan hundreds of DICOM files. It supports SCU network operations (C-ECHO, C-FIND, C-STORE, C-MOVE). PS 3.3 & 3.6 are distributed as XML files. It also provides PS 3.15 certificates and password based mechanism to anonymize and de-identify DICOM datasets. gdcm 3.0.8 4.fc34 x86_64 1.5 M gdcm-3.0.8-4.fc34.src.rpm fedora Grassroots DiCoM is a C++ library to parse DICOM medical files http BSD Grassroots DiCoM (GDCM) is a C++ library for DICOM medical files. It supports ACR-NEMA version 1 and 2 (huffman compression is not supported), RAW, JPEG, JPEG 2000, JPEG-LS, RLE and deflated transfer syntax. It comes with a super fast scanner implementation to quickly scan hundreds of DICOM files. It supports SCU network operations (C-ECHO, C-FIND, C-STORE, C-MOVE). PS 3.3 & 3.6 are distributed as XML files. It also provides PS 3.15 certificates and password based mechanism to anonymize and de-identify DICOM datasets.

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

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

sudo dnf -y install gdcm

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

sudo yum -y install gdcm

How To Uninstall gdcm on Fedora 34

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

sudo dnf remove gdcm

gdcm Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/be3e0bfe86955abec7a9d9615f9087aad097c4
/usr/lib/.build-id/20
/usr/lib/.build-id/20/e79a8558b8315b63ccce29c8f0ff07dae7286e
/usr/lib/.build-id/24
/usr/lib/.build-id/24/0930fc59712dadc0eb0ed656492d6543d9d508
/usr/lib/.build-id/32
/usr/lib/.build-id/32/ec6a36c07a69aade0aeae1b516196af73d35f6
/usr/lib/.build-id/76
/usr/lib/.build-id/76/2052b51bbbb0c9dc652ee62aaa3f67e496b298
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/1e106fac9d4c202ed156ffbe844f9396e957cd
/usr/lib/.build-id/90
/usr/lib/.build-id/90/b9fce451cdafb42bf54521b503b88bf1552814
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/71e9cbb381dbafd95a5cd94cbf013dd9a69714
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/8a01e7d0553b1efc9b45acd6363c142f1e650a
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/1f42fd721c26ab809eb4a90134acded6f56773
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/d26d426170cd2f69184c914910a672d9bf6e36
/usr/lib/libgdcmCommon.so.3.0
/usr/lib/libgdcmCommon.so.3.0.8
/usr/lib/libgdcmDICT.so.3.0
/usr/lib/libgdcmDICT.so.3.0.8
/usr/lib/libgdcmDSED.so.3.0
/usr/lib/libgdcmDSED.so.3.0.8
/usr/lib/libgdcmIOD.so.3.0
/usr/lib/libgdcmIOD.so.3.0.8
/usr/lib/libgdcmMEXD.so.3.0
/usr/lib/libgdcmMEXD.so.3.0.8
/usr/lib/libgdcmMSFF.so.3.0
/usr/lib/libgdcmMSFF.so.3.0.8
/usr/lib/libgdcmjpeg12.so.3.0
/usr/lib/libgdcmjpeg12.so.3.0.8
/usr/lib/libgdcmjpeg16.so.3.0
/usr/lib/libgdcmjpeg16.so.3.0.8
/usr/lib/libgdcmjpeg8.so.3.0
/usr/lib/libgdcmjpeg8.so.3.0.8
/usr/lib/libgdcmmd5.so.3.0
/usr/lib/libgdcmmd5.so.3.0.8
/usr/lib/libsocketxx.so.1.2
/usr/lib/libsocketxx.so.1.2.0
/usr/share/doc/gdcm
/usr/share/doc/gdcm/AUTHORS
/usr/share/doc/gdcm/README.md
/usr/share/gdcm
/usr/share/gdcm-3.0/XML
/usr/share/gdcm-3.0/XML/CSAHeader.xml
/usr/share/gdcm-3.0/XML/Part3.xml
/usr/share/gdcm-3.0/XML/Part4.xml
/usr/share/gdcm-3.0/XML/Part6.xml
/usr/share/gdcm-3.0/XML/Part7a.xml
/usr/share/gdcm-3.0/XML/Part7b.xml
/usr/share/gdcm-3.0/XML/UIDs.xml
/usr/share/gdcm-3.0/XML/cp699.xml
/usr/share/licenses/gdcm
/usr/share/licenses/gdcm/Copyright.txt
/usr/share/licenses/gdcm/README.Copyright.txt
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/d619e1df73595a611167f33f8cdcf642756d1a
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/00293a2e762d96ccd0384620e6f833bbc78ee3
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/6d0d49b0c08cd63fc9386de4933e428c06562b
/usr/lib/.build-id/2c/cb1909dfcd2278f939bb7b5cc9d4a0f6370b46
/usr/lib/.build-id/68
/usr/lib/.build-id/68/cf3959d0bfa89d199a908c9418c8c5fb6cee85
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/f2305ccb3e17663b8b64b1094f92a9b649669f
/usr/lib/.build-id/99
/usr/lib/.build-id/99/68a4892601090133992ba00ac649b650f839f9
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/6a8c06f1188e57e50d531cfaecb327daf9c77b
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/aeb57a6fadad17ab51c9e3ae9762b63538b9c0
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/825f6050cdff2c1f1572befe20484093c63922
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/ed329a4a972c70c381588508006a6e2b36dc37
/usr/lib64/libgdcmCommon.so.3.0
/usr/lib64/libgdcmCommon.so.3.0.8
/usr/lib64/libgdcmDICT.so.3.0
/usr/lib64/libgdcmDICT.so.3.0.8
/usr/lib64/libgdcmDSED.so.3.0
/usr/lib64/libgdcmDSED.so.3.0.8
/usr/lib64/libgdcmIOD.so.3.0
/usr/lib64/libgdcmIOD.so.3.0.8
/usr/lib64/libgdcmMEXD.so.3.0
/usr/lib64/libgdcmMEXD.so.3.0.8
/usr/lib64/libgdcmMSFF.so.3.0
/usr/lib64/libgdcmMSFF.so.3.0.8
/usr/lib64/libgdcmjpeg12.so.3.0
/usr/lib64/libgdcmjpeg12.so.3.0.8
/usr/lib64/libgdcmjpeg16.so.3.0
/usr/lib64/libgdcmjpeg16.so.3.0.8
/usr/lib64/libgdcmjpeg8.so.3.0
/usr/lib64/libgdcmjpeg8.so.3.0.8
/usr/lib64/libgdcmmd5.so.3.0
/usr/lib64/libgdcmmd5.so.3.0.8
/usr/lib64/libsocketxx.so.1.2
/usr/lib64/libsocketxx.so.1.2.0
/usr/share/doc/gdcm
/usr/share/doc/gdcm/AUTHORS
/usr/share/doc/gdcm/README.md
/usr/share/gdcm
/usr/share/gdcm-3.0/XML
/usr/share/gdcm-3.0/XML/CSAHeader.xml
/usr/share/gdcm-3.0/XML/Part3.xml
/usr/share/gdcm-3.0/XML/Part4.xml
/usr/share/gdcm-3.0/XML/Part6.xml
/usr/share/gdcm-3.0/XML/Part7a.xml
/usr/share/gdcm-3.0/XML/Part7b.xml
/usr/share/gdcm-3.0/XML/UIDs.xml
/usr/share/gdcm-3.0/XML/cp699.xml
/usr/share/licenses/gdcm
/usr/share/licenses/gdcm/Copyright.txt
/usr/share/licenses/gdcm/README.Copyright.txt

References

Summary

In this tutorial we learn how to install gdcm on Fedora 34 using yum and dnf.