在Linux上下載FSL時遇到的問題 / Problems encountered while downloading FSL on Linux

使用python3的人記得要安裝python2才能順利執行fslinstaller.py

我輸入了以下指令來進行安裝

$ sudo python2 fslinstaller.py



雖然出現了skipping eddy setup now等有點涼的字眼,但看起來安裝成功了
但是進行官網上的確認步驟後發現什麼也沒出現
需要使用此網址的教學來更改 ~/.bash_profile
如下
# Change the value for FSLDIR if you have 
# installed FSL into a different location
FSLDIR=/usr/local/fsl
. ${FSLDIR}/etc/fslconf/fsl.sh
PATH=${FSLDIR}/bin:${PATH}
export FSLDIR PATH
隨後在flirt -version出現了flirt: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
google後找到了解決方式
只要輸入以下指令即可
 
$ sudo apt install libopenblas-base

再確認一次安裝!
安裝成功


備註:
在更改~/.bash_profile之後下次打開終端機會發現使用者沒有顏色(如截圖的banana)
請在終端機中輸入以下指令:
$ echo "source ~/.bashrc" >> ~/.bash_profile

參考網址:

https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation/Linux

https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation/ShellSetup

https://www.jiscmail.ac.uk/cgi-bin/wa-jisc.exe?A2=FSL;e9d59a34.2104

https://stackoverflow.com/questions/53138650/problems-about-installing-fsl-6-0-on-ubuntu-18-04

https://stackoverflow.com/questions/48761771/my-wsl-terminal-lost-color

留言