The easiest method is to download this python script.
You will need to register. On the subsequent page you will download the fslinstaller.py
file.
Run the following in a linux terminal (the install will take awhile):
python /mnt/c/Users/*[your_username]*/Downloads/fslinstaller.py
You will also need to install the package wxpython
:
pip install wxpython
If that does not work then run:
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 wxPython
sudo apt-get install libmng2
sudo apt-get install libmng-dev
sudo apt-get install libpng-dev
sudo apt-get install libopenblas-base
export LD_LIBRARY_PATH=/usr/lib/openblas-base/
You will need to create a symbolic link for the library dll libmng.so.1
:
sudo ln -s /usr/lib/x86_64-linux-gnu/libmng.so.2 /usr/lib/x86_64-linux-gnu/libmng.so.1
sudo apt-get install libjpeg62
wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb \
&& sudo dpkg -i /tmp/libpng12.deb \
&& rm /tmp/libpng12.deb
sudo apt-get install gtk2.0
sudo apt-get install pulseaudio
sudo chown -R *[your username]*:admin ~/.dbus