How To Install orthanc-gdcm on Debian 12

Learn how to install orthanc-gdcm on Debian 12 with this tutorial. orthanc-gdcm is DICOM transcoder/decoder for Orthanc using GDCM (notably for JPEG2k)

Introduction

In this tutorial we learn how to install orthanc-gdcm on Debian 12.

What is orthanc-gdcm

orthanc-gdcm is:

This package installs a plugin for Orthanc, the lightweight, RESTful Vendor Neutral Archive for medical imaging. The plugin extends Orthanc with a transcoder/decoder of DICOM images that is built on the GDCM library, whereas the built-in transcoder/decoder of Orthanc uses DCMTK.

This plugin is notably necessary for Orthanc to be able to transcode and decode JPEG2k transfer syntaxes.

There are three methods to install orthanc-gdcm on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install orthanc-gdcm Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install orthanc-gdcm using apt-get by running the following command:

sudo apt-get -y install orthanc-gdcm

Install orthanc-gdcm Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install orthanc-gdcm using apt by running the following command:

sudo apt -y install orthanc-gdcm

Install orthanc-gdcm Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install orthanc-gdcm using aptitude by running the following command:

sudo aptitude -y install orthanc-gdcm

How To Uninstall orthanc-gdcm on Debian 12

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

sudo apt-get remove orthanc-gdcm

Uninstall orthanc-gdcm And Its Dependencies

To uninstall orthanc-gdcm and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove orthanc-gdcm

Remove orthanc-gdcm Configurations and Data

To remove orthanc-gdcm configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge orthanc-gdcm

Remove orthanc-gdcm configuration, data, and all of its dependencies

We can use the following command to remove orthanc-gdcm configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge orthanc-gdcm

Dependencies

orthanc-gdcm have the following dependencies:

References

Summary

In this tutorial we learn how to install orthanc-gdcm package on Debian 12 using different package management tools: apt, apt-get and aptitude.