How To Install bart-cuda on Kali Linux
Introduction
In this tutorial we learn how to install bart-cuda on Kali Linux.
What is bart-cuda
bart-cuda 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.
This package provides BART with CUDA support.
There are three methods to install bart-cuda 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-cuda Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install bart-cuda using apt-get by running the following command:
sudo apt-get -y install bart-cudaInstall bart-cuda Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install bart-cuda using apt by running the following command:
sudo apt -y install bart-cudaInstall bart-cuda 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 updateAfter updating apt database, We can install bart-cuda using aptitude by running the following command:
sudo aptitude -y install bart-cudaHow To Uninstall bart-cuda on Kali Linux
To uninstall only the bart-cuda package we can use the following command:
sudo apt-get remove bart-cudaUninstall bart-cuda And Its Dependencies
To uninstall bart-cuda and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove bart-cudaRemove bart-cuda Configurations and Data
To remove bart-cuda configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge bart-cudaRemove bart-cuda configuration, data, and all of its dependencies
We can use the following command to remove bart-cuda configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge bart-cudaDependencies
bart-cuda have the following dependencies:
- libblas3
- libc6
- libcublas11
- libcudart11.0
- libcufft10
- libfftw3-single3
- libgomp1
- liblapacke
- libpng16-16
- libstdc++6
References
Summary
In this tutorial we learn how to install bart-cuda package on Kali Linux using different package management tools: apt, apt-get and aptitude.