How To Install fsl-core on Ubuntu 20.04
Introduction
In this tutorial we learn how to install fsl-core
on Ubuntu 20.04.
What is fsl-core
fsl-core is:
FSL is a comprehensive library of image analysis and statistical tools for fMRI, MRI and DTI brain imaging data. The suite consists of various command line tools, as well as simple GUIs for its core analysis pipelines. Among others, FSL offers implementations of standard GLM analysis, white matter tractography, tissue segmentation, affine and non-linear co-registration, and independent component analysis.
Some FSL components require additional data packages (fsl-atlases, fsl-first-data, fsl-possum-data) that are currently available from the NeuroDebian repository only. For more information on how to obtain these data packages visit http://neuro.debian.net.
Users aiming to perform a complete FSL installation (including all data components) are advised to install the ‘fsl-complete’ package from NeuroDebian.
There are three methods to install fsl-core
on Ubuntu 20.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 fsl-core Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install fsl-core
using apt-get
by running the following command:
sudo apt-get -y install fsl-core
Install fsl-core Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fsl-core
using apt
by running the following command:
sudo apt -y install fsl-core
Install fsl-core 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 fsl-core
using aptitude
by running the following command:
sudo aptitude -y install fsl-core
How To Uninstall fsl-core on Ubuntu 20.04
To uninstall only the fsl-core
package we can use the following command:
sudo apt-get remove fsl-core
Uninstall fsl-core And Its Dependencies
To uninstall fsl-core
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove fsl-core
Remove fsl-core Configurations and Data
To remove fsl-core
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge fsl-core
Remove fsl-core configuration, data, and all of its dependencies
We can use the following command to remove fsl-core
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fsl-core
References
Summary
In this tutorial we learn how to install fsl-core
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.