Please visit the official website for MRtrix to access the documentation for MRtrix3, including detailed installation instructions.
Support and general discussion is hosted on the MRtrix3 Community Forum. Please address all MRtrix3-related queries there. You can use you GitHub or Google login to post questions.
-
Install dependencies by whichever means your system uses. These include: Python (>=2.6), a C++ compiler, POSIX threads, Eigen (>=3), zlib, OpenGL (>=3), and Qt (>=4.8 - >=5.1 on MacOSX).
-
Clone Git repository and compile:
$ git clone https://github.com/MRtrix3/mrtrix3.git $ cd mrtrix3/ $ ./configure $ ./build
-
Set appropriate environment variables:
-
Bash shell:
$ export PATH=/<edit as appropriate>/mrtrix3/release/bin:$PATH
-
C shell:
$ setenv PATH /<edit as appropriate>/mrtrix3/release/bin:$PATH
-
-
Test installation:
$ mrview
-
You can update your installation at any time by opening a terminal in the mrtrix3 folder, and typing:
git pull ./build
-
If this doesn't work immediately, it may be that you need to re-run the configure script:
./configure
and re-run step 1 again.