-
Notifications
You must be signed in to change notification settings - Fork 0
Mrtrix3
Christopher J. Steele edited this page Jun 30, 2022
·
4 revisions
MRtrix3 is now available as a conda package and easily installable once you have anaconda up and running.
conda install -c mrtrix3 mrtrix3
--- Older advice specific to Windows follows ---
MRtrix3 Download Link: https://www.mrtrix.org/download/
Following steps from MYSY2 Link: https://www.msys2.org/
-
Download installer:
msys2-x86_64-20210604.exe
- Run the installer (Requires 64 bit Windows 7 or newer) and download to preferred folder.
- When installation is complete run “MSYS2 64bit”.
- In the terminal, download package database and base packages by running
pacman -Syu
. Then click [y] until all is downloaded and the terminal closes. - Go to the folder where it was downloaded (in the start menu there will be four applications within the folder) and open "MSYS2 MSYS".
- In the terminal run
pacman -Su
and proceed with the installation. - In the same terminal download tools and mingw-w64 GCC (to compile) for MSYS2 by running the line
$ pacman -S --needed base-devel mingw-w64-x86_64-toolchain
. Then click enter for default (“all”) download. Proceed with installation. - Close the terminal.
Following steps from : https://www.mrtrix.org/download/windows-msys2/
- In the start menu go to the folder and open “MSYS MinGW 64-bit”
- In the terminal install MRtrix3 by running
tag=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/MRtrix3/mrtrix3/releases/latest)) && curl -sL https://github.com/MRtrix3/mrtrix3/releases/download/${tag}/mingw-w64-x86_64-mrtrix3-${tag}-1-x86_64.pkg.tar.xz -O && pacman -U mingw-w64-x86_64-mrtrix3-${tag}-1-x86_64.pkg.tar.xz
- MRtrix3 is ready to use!
List of commands: https://mrtrix.readthedocs.io/en/latest/reference/commands_list.html