How To Install orthanc on Kali Linux
Introduction
In this tutorial we learn how to install orthanc on Kali Linux.
What is orthanc
orthanc is:
Orthanc aims at providing a simple, yet powerful DICOM server for medical imaging. Orthanc can turn any computer running Windows or Linux into a Vendor Neutral Archive (in other words, a mini-PACS system). Its architecture is lightweight, meaning that no complex database administration is required, nor the installation of third-party dependencies.
What makes Orthanc unique is the fact that it provides a RESTful API. Thanks to this major feature, it is possible to drive Orthanc from any computer language. The DICOM tags of the stored medical images can be downloaded in the JSON file format. Furthermore, standard PNG images can be generated on-the-fly from the DICOM instances by Orthanc.
Orthanc lets its users focus on the content of the DICOM files, hiding the complexity of the DICOM format and of the DICOM protocol.
There are three methods to install orthanc on Kali Linux. 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 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install orthanc using apt-get by running the following command:
sudo apt-get -y install orthancInstall orthanc Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install orthanc using apt by running the following command:
sudo apt -y install orthancInstall orthanc Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install orthanc using aptitude by running the following command:
sudo aptitude -y install orthancHow To Uninstall orthanc on Kali Linux
To uninstall only the orthanc package we can use the following command:
sudo apt-get remove orthancUninstall orthanc And Its Dependencies
To uninstall orthanc and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove orthancRemove orthanc Configurations and Data
To remove orthanc configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge orthancRemove orthanc configuration, data, and all of its dependencies
We can use the following command to remove orthanc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge orthancDependencies
orthanc have the following dependencies:
- init-system-helpers
- adduser
- dcmtk
- locales
- libcivetweb1
- lsb-base
- tzdata
- libboost-filesystem1.74.0
- libboost-iostreams1.74.0
- libboost-locale1.74.0
- libboost-regex1.74.0-icu67
- libboost-thread1.74.0
- libc6
- libcurl4
- libdcmtk15
- libgcc-s1
- libjpeg62-turbo
- libjsoncpp24
- liblua5.3-0
- libpng16-16
- libpugixml1v5
- libsqlite3-0
- libssl1.1
- libstdc++6
- libuuid1
- zlib1g
References
Summary
In this tutorial we learn how to install orthanc package on Kali Linux using different package management tools: apt, apt-get and aptitude.