How To Install nifti2dicom-dbg on Ubuntu 18.04
Introduction
In this tutorial we learn how to install nifti2dicom-dbg
on Ubuntu 18.04.
What is nifti2dicom-dbg
nifti2dicom-dbg is:
Nifti2Dicom is a convertion 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 contains the debugging symbols necessary to debug crashes in nifti2dicom.
There are three methods to install nifti2dicom-dbg
on Ubuntu 18.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 nifti2dicom-dbg 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-dbg
using apt-get
by running the following command:
sudo apt-get -y install nifti2dicom-dbg
Install nifti2dicom-dbg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install nifti2dicom-dbg
using apt
by running the following command:
sudo apt -y install nifti2dicom-dbg
Install nifti2dicom-dbg 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 nifti2dicom-dbg
using aptitude
by running the following command:
sudo aptitude -y install nifti2dicom-dbg
How To Uninstall nifti2dicom-dbg on Ubuntu 18.04
To uninstall only the nifti2dicom-dbg
package we can use the following command:
sudo apt-get remove nifti2dicom-dbg
Uninstall nifti2dicom-dbg And Its Dependencies
To uninstall nifti2dicom-dbg
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove nifti2dicom-dbg
Remove nifti2dicom-dbg Configurations and Data
To remove nifti2dicom-dbg
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge nifti2dicom-dbg
Remove nifti2dicom-dbg configuration, data, and all of its dependencies
We can use the following command to remove nifti2dicom-dbg
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge nifti2dicom-dbg
References
Summary
In this tutorial we learn how to install nifti2dicom-dbg
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.