bart command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bart: command not found
or when using sudo you get the following error message
sudo: bart: command not found
Solutions to bart: command not found
How To Fix bart: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bart is provided by bart package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bart
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bart.
sudo apt -y install bart
Or if you have aptitude installed you can use the following command.
sudo aptitude install bart
Summary
In this tutorial we learn how to fix bart command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.