How To Install fsl-5.0-core on Ubuntu 20.04
Introduction
In this tutorial we learn how to install fsl-5.0-core
on Ubuntu 20.04.
What is fsl-5.0-core
fsl-5.0-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 5.0 installation (including all data components) are advised to install the ‘fsl-5.0-complete’ package from NeuroDebian.
FSL interoperates well with other brain imaging related software. This includes Caret, FreeSurfer (cortical flattening and modelling). All FSL tools support the NIfTI format.
There are three methods to install fsl-5.0-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-5.0-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-5.0-core
using apt-get
by running the following command:
sudo apt-get -y install fsl-5.0-core
Install fsl-5.0-core Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fsl-5.0-core
using apt
by running the following command:
sudo apt -y install fsl-5.0-core
Install fsl-5.0-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-5.0-core
using aptitude
by running the following command:
sudo aptitude -y install fsl-5.0-core
How To Uninstall fsl-5.0-core on Ubuntu 20.04
To uninstall only the fsl-5.0-core
package we can use the following command:
sudo apt-get remove fsl-5.0-core
Uninstall fsl-5.0-core And Its Dependencies
To uninstall fsl-5.0-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-5.0-core
Remove fsl-5.0-core Configurations and Data
To remove fsl-5.0-core
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge fsl-5.0-core
Remove fsl-5.0-core configuration, data, and all of its dependencies
We can use the following command to remove fsl-5.0-core
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fsl-5.0-core
References
Summary
In this tutorial we learn how to install fsl-5.0-core
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.