Production Version 5.30

Availability

ROOT is available in binary and source form. The binaries are available for most supported platforms. The source is available as a tarball or from Subversion and can easily be compiled on any supported platform/compiler combination.

For what is new in this version see the development notes.

Source

Documentation

AFS

Users at CERN (or those having access to the CERN AFS cell) can also use ROOT directly from AFS. Versions for many different platforms and compilers are available at:

/afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.06/

If you want to use PyROOT, you first have to setup your environment to be sure to use the correct version of Python.

Depending on the type of shell you run:

  • bash
    export PATH="/afs/cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/bin:$PATH"
    export LD_LIBRARY_PATH="/afs/cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/lib:$LD_LIBRARY_PATH"
  • zsh
    export PATH="/afs/cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/bin:${PATH}"
    export LD_LIBRARY_PATH="/afs/cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/lib:${LD_LIBRARY_PATH}"
  • [t]csh
    setenv PATH "/afs/cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/bin:$PATH"
    setenv LD_LIBRARY_PATH "/afs/cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/lib:$LD_LIBRARY_PATH"

Now suppose you want use e.g. an optimized build of version 5.30.06 on an SLC5 machine with 64 bit and GCC 4.4. You need to set up both the compiler and ROOT.

Depending on the type of terminal you run:

  • bash
    . /afs/cern.ch/sw/lcg/external/gcc/4.3.2/x86_64-slc5/setup.sh
    . /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.06/x86_64-slc5-gcc43-opt/root/bin/thisroot.sh
  • zsh
    . /afs/cern.ch/sw/lcg/external/gcc/4.3.2/x86_64-slc5/setup.sh
    cd /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.06/x86_64-slc5-gcc43-opt/root;. ./bin/thisroot.sh; cd -
  • [t]csh
    source /afs/cern.ch/sw/lcg/external/gcc/4.3.2/x86_64-slc5/setup.csh
    source /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.06/x86_64-slc5-gcc43-opt/root/bin/thisroot.csh
Now start it by typing root.

To get 32bit binaries, simply replace x86_64 by i686 in above directories.

Binaries

Note: Before downloading a binary version make sure your machine contains the right run-time environment. In most cases it is not possible to run a version compiled with, e.g., gcc 4.3 on a platform where only gcc 3.4 is installed. In such cases you'll have to install ROOT from source. See the configurations used to build the binaries below.

To install, unzip and untar the file do:

$ gunzip   root_v5.30.06.Linux.slc5.gcc4.3.tar.gz
$ tar xvf  root_v5.30.06.Linux.slc5.gcc4.3.tar

This will create the directory root. Before getting started read the file README/README. Remember, you can find the full documentation of the ROOT classes on this web site at the location Classes and Members. The distribution also contains all tutorials and a set of test programs.

Linux SLC5

OpenSolaris

Mac OS X

Windows

Windows 7/Vista/XP/NT/2000 are supported. We offer two packaging types:

  • MSI: a regular Windows installer package also setting up the required environment variables. With uninstall via "Control Panel" / "Add or Remove Programs". Simply download and start, or open directly. You can double-click ROOT to start it, ROOT files get registered with Windows.
  • tar: the traditional variant. Unpack e.g. with 7zip. Start ROOT in a Microsoft Visual Studio Prompt (in Start / Programs / Microsoft Visual Studio / Tools). If you installed ROOT to C:\root then call C:\root\bin\thisroot.bat before using ROOT to set up required environment variables.

Important installation notes:

  • Do not untar in a directory with a name containing blank characters.
  • Take the release version if performance matters.
  • If you want to debug your code you need the debug version of Windows (you cannot mix release / debug builds due to a Microsoft restriction).
  • You need MS VC++ 7.1 for the VC++ 7.1 build; you need MS VC++ ≥ 8 for the VC++ 9 build. And MS VC++ 10 for the VC++ 10 build. For information, there is a no-cost version of Visual Studio.
  • If you don't know which one to take: the bold versions are recommended.
  Release Debug
VC++ 7.1 MSI (51.1 MB)
tar (51.0 MB)
MSI (96.3 MB)
tar (96.5 MB)
VC++ 9 MSI (52.5 MB)
tar (52.4 MB)
MSI (126.3 MB)
tar (126.6 MB)
VC++ 10 MSI (55.8 MB)
tar (55.7 MB)
MSI (144 MB)
tar (144 MB)
Cygwin GCC 4.3
(not recommended)
tar (54.6 MB)  

Note that the performance of cygwin/gcc binaries is currently very poor; we only provide this build as an unsupported toy. We strongly recommend to use the version above compiled with VC++. The ROOT team will not answer any messages related to problems with the win32gcc version. For more information see these web and ftp sites.