![]() |
BrainVISA/ Anatomist download and installation |
![]() |
| DOWNLOAD PAGE | SOURCES REPOSITORY | CHANGELOG | SYSTEMS | INSTALLATION | DOCUMENTATION | TOOLBOXES |
Binary packages of all needed software are available here :
The BrainVISA packages contain various useful software:
|
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:
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 provide sources for the main general algorithms, but not all algorihm parts.
The sources repository (subversion server) and web interface for bug tracking is accessible for open-source parts and to contributors since august 2009. This page describes how things are organized.
You need about 1.5 Gb free disk space to install the BrainVISA pack 4.1. Yes, it's big, but it contains lots of useful things.
Since 4.1 version, there's no setup step anymore. Each package is a file .tar.bz2 (or .zip for windows). You just have to uncompress this file and the package is ready to use.
Here are the commands to uncompress the package:
tar jxvf <brainvisa_package>.tar.bz2
For older versions, a setup step is required. 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:
cd /home/yourlogin
gunzip -c <brainvisa_package>.tar.gz | tar xf -On Windows, unzip the zip file using whatever unzip tool you like (windows XP has one builtin in the system).
mv <brainvisa_package> brainvisa
./brainvisa/setup.shor:
./<brainvisa_package>/setup.shOn 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.
All executable programs are in
/home/yourlogin/<brainvisa_package>/bin/. The most
useful ones are brainvisa and anatomist, but many many commands are
provided here.
A shell script can also be found in this bin directory, and can be used to
setup your environment variables: bv_env.sh. This is only useful
to debug library problems because all programs use it silently without needing you to
know about it.
To start a program, type the full path along with the name of the program, e.g.:
~/<brainvisa_package>/bin/anatomist(or create symbolic links to 'anatomist' and 'brainvisa' in a directory listed in your path (maybe /home/yourlogin/bin)
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/<brainvisa_package>/bin:$PATH export PATHfor csh or tcsh:
setenv PATH /home/yourlogin/<brainvisa_package>/bin:$PATHIf 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 BrainVISA packs installed, you may just append it at the end of the PATH list rather than at the beginning:
PATH=$PATH:/home/yourlogin/<brainvisa_package>/bin export PATHYou can more safely add these lines in you ~/.profile or ~/.bashrc config file
setenv PATH ${PATH}:/home/yourlogin/<brainvisa_package>/bin
Similarly, you may add this line in your ~/.cshrc config file.
brainvisa --updateDocumentationYou 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.
brainvisa