Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: ROOT. how to install on ubuntu?

  1. #1
    Join Date
    Mar 2007
    Beans
    241
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    ROOT. how to install on ubuntu?

    Anyone out there know if any of the binary files for the ROOT particle physics tool can be easily installed?

    If not how difficult is it the install from source given that I´m very new to linux. I´ve tried looking at the user guide on http://root.cern.ch/ but I´m lost.

  2. #2
    Join Date
    Jun 2007
    Location
    Tacoma, WA
    Beans
    244
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: ROOT. how to install on ubuntu?

    It looks like this package is in the debian 'experimental' repository:
    http://packages.debian.org/experimen...ce/root-system

    Beware of experimental packages. Here is debian's warning:
    Warning: This package is from the experimental distribution. That means it is likely unstable or buggy, and it may even cause data loss. If you ignore this warning and install it nevertheless, you do it on your own risk.

  3. #3
    Join Date
    Mar 2007
    Beans
    241
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: ROOT. how to install on ubuntu?

    is this because its the ´new´version 5.15 or ROOT and not the stable´production´ version 5.14?

    for whatever reason the stable 5.14 doesn appear to be around.

    Would it be stable if i compiled 5.15 myself?

  4. #4
    Join Date
    Jun 2007
    Location
    Tacoma, WA
    Beans
    244
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: ROOT. how to install on ubuntu?

    Good question. I'm really not sure why the software is in the experimental archive. I took a closer look at the rationale for debian experimental packages ( http://www.debian.org/doc/developers...e/ch-resources ) but couldn't find a set of specific criteria on a package-by-package basis.

  5. #5
    Join Date
    Jun 2007
    Location
    Bergen, Norway
    Beans
    14
    Distro
    Xubuntu 8.10 Intrepid Ibex

    Re: ROOT. how to install on ubuntu?

    Anyone out there know if any of the binary files for the ROOT particle physics tool can be easily installed?
    If not how difficult is it the install from source given that I´m very new to linux. I´ve tried looking at the user guide on http://root.cern.ch/ but I´m lost
    --------------------------------------------------
    I recommend own build. It is not that difficult

    ROOT is not a fancy toy. It is (among other things) used as a production
    tool in data analysis in some of the most demanding scientific projects.

    Therefore the system is necessarily very conservative. For many purposes
    (actually most)
    you can exchange pieces of code between versions 2.x and 5.x.

    Therefore you do not need the latest version.
    get the source e.g. from a little bit "older" (about 6 months)
    http://root.cern.ch/root/Version512.html
    and do not read the stuff there. It is for CERN people only.

    I have just done an "installation" from the mentioned "source tree"
    unpacking the source:
    - move the package root-xxxxxx.tar.gz from the desktop somewhere
    IN THE TERMINAL:
    - gunzip root-xxxxxx.tar.gz
    - tar -xf root-xxxxxx.tar
    - Now you can start (the tar produced a new directory root )
    cd root
    ./configure
    - most probably at this stage it will refuse collaborate
    requiring various libraries and g77
    - Using synaptic package manager try to get the packages
    in my case I needed X11-devel (Scientific Linux notation, the script told me)
    on debian/ubuntu such packages are usually called dev , not devel
    in synaptic I searched x11 dev and got a lot. I installed some x11proto-dev-base
    did not help much; ./configure still refused
    after installing xlibs-dev
    and using ./configure linuxdeb
    configure made the configuration (about 30 seconds)
    You might enter ./configure --help for info
    - now we are prepared: simply type

    make

    - make used 30 minutes on my notebook (ancient one)
    and finished then smoothly. It is interesting to watch it now and then
    to see what all is happening. Here some fortran, some moving, some g++
    som gcc - but 30 minutes might be too long to watch. Read some news ....
    After the SUCCESS:

    - instead of make install
    - I said
    cd ..
    sudo mv root /usr/local
    Here I was asked for password
    Then I have constructed the command "root" as a file
    /usr/bin/root
    #!/bin/bash
    export ROOTSYS=/usr/local/root
    $ROOTSYS/bin/root $1 $2 $3 $4

    I also naturally said
    chmod a+rx /usr/bin/root

    So now I have a fresh installation of root - thanks to your question!

    You can do no harm to your linux installation, since root
    keeps everything under one directory. If it does not work, you simply
    remove all the "root" from where you installed it.
    (CAREFULL! do not remove /root -- that is a different file )

    ROOT should be used by many, it is nearly as useful as octave, and it is
    by no means limited to particle physics.

    Normally, you would run root in a terminal window

    I also recommend:
    cd /usr/local/root
    cp -r tutorials ~/ROOTwork

    Then test it all by
    cd ~/ROOTwork
    root hsimple.C

    Good luck!

  6. #6
    Join Date
    Jul 2007
    Beans
    4

    Re: ROOT. how to install on ubuntu?

    I have run into a very interesting problem trying to get ROOT/AliROOT to compile on my system. I install the necessary libraries the make goes fine, then when I 'make install'- my entire system crashes. (I have had to reinstall Ubuntu on my laptop about 4 times now because of this. ) I suspect that it has something to do with the OpenGL Libraries but cannot put my finger on it. Unfortunately, I really need ROOT and AliROOT for my research.



    Any thoughts?
    Last edited by Schrodinger; July 17th, 2007 at 06:09 AM.

  7. #7
    Join Date
    Jul 2007
    Beans
    4

    Re: ROOT. how to install on ubuntu?

    Ah, just found this, here's a solution if you like binaries.

    http://mirror.phy.bnl.gov/debian-root/

  8. #8
    Join Date
    Mar 2007
    Location
    Liverpool
    Beans
    152

    Re: ROOT. how to install on ubuntu?

    For lad.kocb, but feel free to shout out.

    configure - fail - install xlibs-dev - configures.

    make -

    fails - g++ not recognised

    installed g++ (synaptic & 7.10 disc)

    g77 not recognised

    installed g77

    make error;

    g++ -m32 -O2 -o bin/cint cint/main/cppmain.o \
    -Llib -lCint -lm -ldl -rdynamic
    lib/libCint.so: undefined reference to `G__getvirtualbaseoffset'
    lib/libCint.so: undefined reference to `G__baseconstructorwp'
    lib/libCint.so: undefined reference to `G__isanybase'
    lib/libCint.so: undefined reference to `G__find_virtualoffset'
    lib/libCint.so: undefined reference to `G__basedestructor'
    lib/libCint.so: undefined reference to `G__ispublicbase'
    lib/libCint.so: undefined reference to `G__baseconstructor'
    lib/libCint.so: undefined reference to `G__publicinheritance'
    lib/libCint.so: undefined reference to `G__inheritclass'
    collect2: ld returned 1 exit status
    make: *** [bin/cint] Error 1

    install?


    Incidentally, i386 & gutsy. Oh, and adding the repository to sources list didn't work as an alternative (after sudo su, apt-get update)

    Reading package lists... Done
    W: GPG error: http://mirror.phy.bnl.gov unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7AD9343B6620D4F5
    W: You may want to run apt-get update to correct these problems

    idea?

  9. #9
    Join Date
    Mar 2007
    Location
    Liverpool
    Beans
    152

    Re: ROOT. how to install on ubuntu?

    Disregard that. I noticed that when redoing the sources.list 'apt-get' that it was reading those libraries. Ignore the warning. 5.16 installed on my fresh gutsy in a heartbeat. May the Spaghetti Monster look kindly on Christian Holm!

    http://mirror.phy.bnl.gov/debian-root/

  10. #10
    Join Date
    Mar 2007
    Beans
    241
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: ROOT. how to install on ubuntu?

    Well I just installed no problem. Succesfully runs the .C files I've written. Success!

    Thanks.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •