How To Install libismrmrd1.3 on Ubuntu 18.04

In this tutorial we learn how to install libismrmrd1.3 on Ubuntu 18.04. libismrmrd1.3 is ISMRM Raw Data format (ISMRMRD)

Introduction

In this tutorial we learn how to install libismrmrd1.3 on Ubuntu 18.04.

What is libismrmrd1.3

libismrmrd1.3 is:

The ISMRMRD format combines a mix of flexible data structures (XML header) and fixed structures (equivalent to C-structs) to represent MRI data.

In addition, the ISMRMRD format also specifies an image header for storing reconstructed images and the accompanying C++ library provides a convenient way of writing such images into HDF5 files along with generic arrays for storing less well defined data structures, e.g. coil sensitivity maps or other calibration data.

This package provides the shared library.

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

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

sudo apt-get update

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

sudo apt-get -y install libismrmrd1.3

Install libismrmrd1.3 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libismrmrd1.3 using apt by running the following command:

sudo apt -y install libismrmrd1.3

Install libismrmrd1.3 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 libismrmrd1.3 using aptitude by running the following command:

sudo aptitude -y install libismrmrd1.3

How To Uninstall libismrmrd1.3 on Ubuntu 18.04

To uninstall only the libismrmrd1.3 package we can use the following command:

sudo apt-get remove libismrmrd1.3

Uninstall libismrmrd1.3 And Its Dependencies

To uninstall libismrmrd1.3 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libismrmrd1.3

Remove libismrmrd1.3 Configurations and Data

To remove libismrmrd1.3 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libismrmrd1.3

Remove libismrmrd1.3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libismrmrd1.3

References

Summary

In this tutorial we learn how to install libismrmrd1.3 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.