All we need to do now is to add the executables to your PATH environment variable. This is different depending on whether you use a sh or csh shell variant. In our case and for the remainder of this tutorial we will presume we are using the bash shell. To do this in bash add the following line to your .bashrc file.
Whilst we are at it we should also add the manual pages.
If we plan to compile other libraries or executables against the base MINC package we can also add the following to make life easier:
Depending how you compiled MINC, you may have to export the path to the MNI PERL libraries as well :
If you are using the MINC2 version of the libraries, but want to use the MINC1 format, you will also have to add :
To change the default level of internal compression (minc2 formal only, 0 is no compression, 9 is maximal compression):
Now all we need do is re-source our .bashrc file.
$ . ~/.bashrc