I’ve been trying to get FMRIB’s FSL toolkit running on Ubuntu 22.10. The downloaded fslinstaller.py runs absolutely fine without any errors, and clears both stages. It selects /usr/local/fsl as the default install directory. However, when trying to use FSL it is not detected. For instance, echo $FSLDIR returns nothing.I mean it literally returns an empty line. Anything else, including flirt -versio n and fsleyes simply returns a “not installed” message.
I was worried that may be the shell setup did not go properly, so I edited the ~/.bash_profile and added in the following. But unfortunately this didn’t work. If anyone has any suggestions, I will be grateful.
FSLDIR=/usr/local/fsl
. ${FSLDIR}/etc/fslconf/fsl.sh
PATH=${FSLDIR}/bin:${PATH}
export FSLDIR PATH