How To Install nifti2dicom on Kali Linux

In this tutorial we learn how to install nifti2dicom on Kali Linux. nifti2dicom is convert 3D medical images to DICOM 2D series

Introduction

In this tutorial we learn how to install nifti2dicom on Kali Linux.

What is nifti2dicom

nifti2dicom is:

Nifti2Dicom is a conversion tool that converts 3D NIfTI files (and other formats supported by ITK, including Analyze, MetaImage Nrrd and VTK) to DICOM. Unlike other conversion tools, it can import a DICOM file that is used to import the patient and study DICOM tags, and allows you to edit the accession number and other DICOM tags, in order to create a valid DICOM that can be imported in a PACS.

This package includes the command line tools.

There are three methods to install nifti2dicom 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 nifti2dicom Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nifti2dicom

Install nifti2dicom Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nifti2dicom using apt by running the following command:

sudo apt -y install nifti2dicom

Install nifti2dicom 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 update

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

sudo aptitude -y install nifti2dicom

How To Uninstall nifti2dicom on Kali Linux

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

sudo apt-get remove nifti2dicom

Uninstall nifti2dicom And Its Dependencies

To uninstall nifti2dicom and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nifti2dicom

Remove nifti2dicom Configurations and Data

To remove nifti2dicom configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nifti2dicom

Remove nifti2dicom configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nifti2dicom

Dependencies

nifti2dicom have the following dependencies:

References

Summary

In this tutorial we learn how to install nifti2dicom package on Kali Linux using different package management tools: apt, apt-get and aptitude.