BrainVISA logo

BrainVISA/ Anatomist download and installation

Anatomist logo

Binary packages

Binary packages of all needed software are available on this page

The SHFJ packages contain various useful software:

Supported systems (binary packages)

System: Version: Status and comments:
Linux/i386 Fedora 9 OK
Fedora 8 OK
Fedora 7 OK
Fedora Core 6 OK
Fedora Core 5 OK
Fedora Core 4 OK: 3.1 packages are built on this distribution.
Fedora Core <= 3 Not supported anymore since package 3.1
RedHat 9 Not supported anymore since package 3.1
OK for 3.0 packages which are built on this distribution.
RedHat <= 8 Not supported anymore.
Mandriva 2008 OK
Mandriva 2007 OK
Other distributions ? (not tested)
MacOS X MacOS 10.5 ? (not tested)
MacOS 10.4/Intel OK, the packages are built on PPC but seem to run correctly on Intel architecture (with possibly a loss of performance).
MacOS 10.4/PPC OK since package version 3.0.2.
MacOS 10.3 Not supported anymore since package version 3.0.2. OK for 3.0.1.
MacOS <= 10.2 not supported
Solaris/SPARC Solaris not supported anymore
Irix/MIPS4 Irix 6.5 Not supported anymore We have no Irix machine setup for compilation anymore. In principle, building from sources should work but we cannot test it.
Windows Vista ? (not tested)
XP (/NT ?) OK
2000 globally OK (except a minor plugin that nobody will need)
98 and earlier not supported

If your system is not listed in the above table and you encounter problems while installing a binary package, please upgrade your system or build from sources. We can provide binary distributions for a limited set of platforms only. Here are some known incompatibilities and possible workarounds:

Source packages

Alternatively you can download the source code. These sources should compile on any UNIX platform with a decent C++ compiler, including Linux, Solaris, Irix, MacOS X. Compilation is also possible on Windows platforms in the MinGW / MSys environment. Then follow the instructions on how to compile and install the source distributions.

Note: we do not provide sources for all libraries and programs. Currently we have GPL'd the code needed to build Anatomist (data structures, IO, visualization). We do not provide sources for the algorihm parts. We plan to open the sources of some of the algorithms but maybe not all of them, and we haven't split the libraries into "public" and "private" parts yet. As some Anatomist modules do use the algo parts, they will not be compiled and skipped by the build system.

Installation

You need about 500 Mb free disk space to install the SHFJ pack 3.0. Yes, it's big, but it contains lots of useful things.

For releases 2.2 or newer, the new installation procedure is as follows:
Each binary package is a single .tar.gz file, plus a .README file with installation instructions (it is also provided in the tar file). The instructions here are a copy of this README file:
  1. cd to the directory where to install the top directory of the BrainVISA package, e.g.:
      cd /home/yourlogin
  2. uncompress the archive file:
      gunzip -c SHFJ_pack-stable-linux-3.0.0.tar.gz | tar xf -
    On Windows, unzip the zip file using whatever unzip tool you like (windows XP has one builtin in the system).
  3. Optionally, change the main direcory name, e.g:
      mv SHFJ_pack-stable-linux-3.0.0 brainvisa
  4. run the setup script:
      ./brainvisa/setup.sh
    or:
      ./SHFJ_pack-stable-linux-3.0.0/setup.sh
    On Windows systems, the setup program is not a shell script (setup.sh) but an executable program: setup.exe. Just execute it like on other systems: apart from the program name extension, everything is the same.
  5. The file SHFJ_pack-stable-linux-3.0.0.tar.gz is not longer needed (except if you want to reinstall), and can be deleted.

All executable programs are in /home/yourlogin/SHFJ_pack-stable-linux-3.0.0/bin/. The most useful ones are brainvisa and anatomist, but many many commands are provided here.
Two shell scripts can also be found in this bin directory, and can be used to setup your environment variables: SHFJEnvironmentVariables.csh and SHFJEnvironmentVariables.sh (depending on your shell). They are now only useful to debug library problems because all programs use them silently without needing you to know about them.

Running

The package consists of two main programs, anatomist and brainvisa, and a suite of utility programs. All are located in the 'bin' directory of the package. It may be dangerous in a few cases to permanently add this directory to your path, because this can create conflicts with other programs on your system (e.g. python). We suggest two possibilities.
  1. To start a program, type the full path along with the name of the program, e.g.:
      ~/SHFJ_pack-stable-linux-3.0.0/bin/anatomist
    (or create symbolic links to 'anatomist' and 'brainvisa' in a directory listed in your path (maybe /home/yourlogin/bin)
  2. If you often launch anatomist, brainvisa or the accompanying programs, you can run a small shell script that modifies the path before each working session. Depending on your shell (bash, csh...; use 'echo $SHELL' to determine which shell is running), you need to run:

    for sh or bash:
      PATH=/home/yourlogin/SHFJ_pack-stable-linux-3.0.0/bin:$PATH
      export PATH
    for csh or tcsh:
      setenv PATH /home/yourlogin/SHFJ_pack-stable-linux-3.0.0/bin:$PATH
    If you really wish to add it permanently in your personal config file, you may have better keep the standard /usr/bin directory first, and before the path to the binary package, for more safety. If you don't have several SHFJ packs installed, you may just append it at the end of the PATH list rather than at the beginning:
    sh/bash example:
      PATH=$PATH:/home/yourlogin/SHFJ_pack-stable-linux-3.0.0/bin
      export PATH
    You can more safely add these lines in you ~/.profile or ~/.bashrc config file
    csh/tcsh example:
      setenv PATH ${PATH}:/home/yourlogin/SHFJ_pack-stable-linux-3.0.0/bin
    Similarly, you may add this line in your ~/.cshrc config file.

Running BrainVISA

When you install BrainVISA, the data cache and generated documentations are automatically built using the following command:
brainvisa --updateDocumentation
You don't have to run it yourself anymore, but if you make your own processes in BrainVISA, you may have to use the --updateDocumentation option.
Normally, just run:
brainvisa

Uninstalling

To delete brainvisa from your system, just remove the whole brainvisa directory (with 'rm -rf cartopack-Fedora-4-i686-3.1')

Optional software

Some BrainVISA processes or modules need some external software to run. See this page for details.

Other modules

BrainVISA is modular, other people may add new processes for their own tools.
See the web site for more information.