How To Install orthanc on Ubuntu 20.04
Introduction
In this tutorial we learn how to install orthanc
on Ubuntu 20.04.
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 Ubuntu 20.04. 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 update
After updating apt database, We can install orthanc
using apt-get
by running the following command:
sudo apt-get -y install orthanc
Install orthanc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install orthanc
using apt
by running the following command:
sudo apt -y install orthanc
Install orthanc 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install orthanc
using aptitude
by running the following command:
sudo aptitude -y install orthanc
How To Uninstall orthanc on Ubuntu 20.04
To uninstall only the orthanc
package we can use the following command:
sudo apt-get remove orthanc
Uninstall orthanc And Its Dependencies
To uninstall orthanc
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove orthanc
Remove orthanc Configurations and Data
To remove orthanc
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge orthanc
Remove 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 orthanc
References
Summary
In this tutorial we learn how to install orthanc
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.