How To Install bart on Kali Linux

In this tutorial we learn how to install bart on Kali Linux. bart is tools for computational magnetic resonance imaging

Introduction

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

What is bart

bart is:

The Berkeley Advanced Reconstruction Toolbox (BART) is a free and open-source image-reconstruction framework for Computational Magnetic Resonance Imaging. It consists of a programming library and a toolbox of command-line programs. The library provides common operations on multi-dimensional arrays, Fourier and wavelet transforms, as well as generic implementations of iterative optimization algorithms. The command-line tools provide direct access to basic operations on multi-dimensional arrays as well as efficient implementations of many calibration and reconstruction algorithms for parallel imaging and compressed sensing.

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

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

sudo apt-get update

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

sudo apt-get -y install bart

Install bart Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bart

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

sudo aptitude -y install bart

How To Uninstall bart on Kali Linux

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

sudo apt-get remove bart

Uninstall bart And Its Dependencies

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

sudo apt-get -y autoremove bart

Remove bart Configurations and Data

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

sudo apt-get -y purge bart

Remove bart configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge bart

Dependencies

bart have the following dependencies:

References

Summary

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