Catalyst2Death
January 18th, 2009, 10:06 PM
High Energy Physics Tools
1. ROOT
There are two options for installing ROOT, using a pre-compiled binary and installing from source. I suggest installing from source because it allows you to optimize the binary for your machine which is important when running over large datasets.
To install from source:
$ sudo apt-get install checkinstall build-essential libxpm-dev libxpm-dev
$ wget ftp://root.cern.ch/root/root_v5.22.00.source.tar.gz
$ tar -xvf root_v5.22.00.source.tar.gz
$ cd root
$ ./configure -linux
$ make
On my laptop the build process usually takes ~30-40 minutes. A number of subsystems are built, and you may get past the original configure but fail at another. If this happens just use:
$ apt-cache search <failed library>
$ sudo apt-get install <library> <library>-dev
I'm pretty sure that most of the libraries which are required are installed automatically with Intrepid, I just compiled a copy a couple days ago and all I needed was libxpm. Once make is done, you can do:
$ sudo checkinstall
The traditional way of doing it is to set up root in your .bashrc file. If you decide to just download the binaries, all you need to do is extract the tarball and then edit these variables to point to the extracted path. (if you use tcsh or a different shell, then you should edit that one):
#Setup Root 5.22
unset root
export ROOTSYS="$HOME/root"
unset LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$ROOTSYS/lib"
alias root="$ROOTSYS/bin/root"
export PATH="$ROOTSYS/bin:${PATH}"
hash -r
For more information visit:
root.cern.ch
User's manual (invaluable!): http://root.cern.ch/drupal/content/users-guide
General install instructions:
http://root.cern.ch/root/Install.html
2. LaTeX
Here is a list of the latex packages I have installed:
sudo apt-get install texlive texlive-base texlive-base-bin texlive-bibtex-extra texlive-common texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-recommended texlive-formats-extra texlive-full texlive-generic-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-latex3 texlive-math-extra texlive-pictures texlive-publishers texlive-science
It is probably overkill, but It lets me compile all of the science related documents in latex that I've needed.
3. Kerberos
I've included instructions for kerberos because its odd at FNAL. First you'll want ssh:
$ sudo apt-get install openssh-client
Then you want the MIT Kerberos, the Heimdal distribution will work in principal, but I've had trouble, and not using the MIT distribution may lead to authentication problems:
$ sudo apt-get install krb5-user
Then copy the latest krb5.conf to /etc/:
$ wget http://security.fnal.gov/krb5.conf
$ sudo mv /etc/krb5.conf{,.orig}
$ sudo mv krb5.conf /etc/
More instructions here: https://fermilinux.fnal.gov/documentation/security/kerberos-newer-linux/
NOTE: You may need a certificate to see that page
1. ROOT
There are two options for installing ROOT, using a pre-compiled binary and installing from source. I suggest installing from source because it allows you to optimize the binary for your machine which is important when running over large datasets.
To install from source:
$ sudo apt-get install checkinstall build-essential libxpm-dev libxpm-dev
$ wget ftp://root.cern.ch/root/root_v5.22.00.source.tar.gz
$ tar -xvf root_v5.22.00.source.tar.gz
$ cd root
$ ./configure -linux
$ make
On my laptop the build process usually takes ~30-40 minutes. A number of subsystems are built, and you may get past the original configure but fail at another. If this happens just use:
$ apt-cache search <failed library>
$ sudo apt-get install <library> <library>-dev
I'm pretty sure that most of the libraries which are required are installed automatically with Intrepid, I just compiled a copy a couple days ago and all I needed was libxpm. Once make is done, you can do:
$ sudo checkinstall
The traditional way of doing it is to set up root in your .bashrc file. If you decide to just download the binaries, all you need to do is extract the tarball and then edit these variables to point to the extracted path. (if you use tcsh or a different shell, then you should edit that one):
#Setup Root 5.22
unset root
export ROOTSYS="$HOME/root"
unset LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$ROOTSYS/lib"
alias root="$ROOTSYS/bin/root"
export PATH="$ROOTSYS/bin:${PATH}"
hash -r
For more information visit:
root.cern.ch
User's manual (invaluable!): http://root.cern.ch/drupal/content/users-guide
General install instructions:
http://root.cern.ch/root/Install.html
2. LaTeX
Here is a list of the latex packages I have installed:
sudo apt-get install texlive texlive-base texlive-base-bin texlive-bibtex-extra texlive-common texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-recommended texlive-formats-extra texlive-full texlive-generic-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-latex3 texlive-math-extra texlive-pictures texlive-publishers texlive-science
It is probably overkill, but It lets me compile all of the science related documents in latex that I've needed.
3. Kerberos
I've included instructions for kerberos because its odd at FNAL. First you'll want ssh:
$ sudo apt-get install openssh-client
Then you want the MIT Kerberos, the Heimdal distribution will work in principal, but I've had trouble, and not using the MIT distribution may lead to authentication problems:
$ sudo apt-get install krb5-user
Then copy the latest krb5.conf to /etc/:
$ wget http://security.fnal.gov/krb5.conf
$ sudo mv /etc/krb5.conf{,.orig}
$ sudo mv krb5.conf /etc/
More instructions here: https://fermilinux.fnal.gov/documentation/security/kerberos-newer-linux/
NOTE: You may need a certificate to see that page