tdaq-01-08-01 RPM isntallation

ATLAS TDAQ s/w release tdaq-01-09-01 RPM installation

This page describes installation instruction for tdaq releases and all external dependencies, installed as RPM packages. Packages are relocatable and can be installed as non-root using plain rpm tool, but in this case you will need to resolve dependencies and download all packages manually (see URL at the bottom). The suggested method is to use apt-get repository manager which resolves all packages dependencies, dolwnloads and installs them.
Installation instructions assume that you have http connection, SLC3 or SLC4 or compatible Linux box with plenty of disck space and wget utility. If you're behind proxy, please read wget and apt-get manual pages to see how to configure those utilities to use proxy instead of the direct connection.

step 1. Installation and configuration of apt-get (to be done once in the installation area)

You do not need to be root to install packages, but you need to create a local (private) installation of apt-get utility and it's private RPM packages database. You need to do this only once per installation area. Following releases can be installed in the same location, so skip this section if you already have apt-get configured.

First create an installation area where you will keep all ATLAS, LCG and TDAQ s/w. You will need ~2G to install all s/w for -opt and -dbg tags for one platform.
> mkdir <install_root>   (e.g.  <install_root> = /opt/atlas)
> cd <
install_root>
> mkdir -p $PWD/apt/rpmdb
> mkdir -p $PWD/apt/rpm/
put the following 2 lines in your ~/.rpmmacros file (do not do this for root account!):
%_dbpath        <install_root>/apt/var/lib/rpm
%_rpmlock_path  <install_root>/apt/rpm/transaction

Install apt-get:
> rpm -i --nodeps  --relocate=/=$PWD/apt --dbpath $PWD/apt/rpmdb http://atlas-computing.web.cern.ch/atlas-computing/links/reposDirectory/apt/apt-0.5.15lorg3.90-1.slc4.atlas.i386.rpm

Modify apt-get configuration file and put it in place:
> cd <install_root>
> wget http://pcatd12.cern.ch/releases/download/config/apt.conf
> sed s#INSTALL_ROOT#$PWD#g apt.conf > apt/etc/apt/apt.conf

Download apt repositories list configuration file and put it in place:
> wget http://pcatd12.cern.ch/releases/download/config/atlas.list
> mv atlas.list apt/etc/apt/sources.list.d/

Download setup script and source it in apt directory:
> cd <install_root>/apt
for -sh family:
> wget http://pcatd12.cern.ch/releases/download/config/setup.sh
for -tcs family:
> wget http://pcatd12.cern.ch/releases/download/config/setup.csh

> source setup.[c]sh

You're ready to install s/w. To check that apt-get works, do

> apt-config dump
> apt-get update

step 2. Installation of s/w

Once you have installed apt-get, the rest is easy. To install latest versions of tdaq s/w for particular tag, just run
# all necessary runtime files for binary <tag>, e.g. <tag>=i686_slc4_gcc34_opt
> apt-get install tdaq-01-09-01_<tag>

# sample databases with segments and partitions (required!)
> apt-get install tdaq-01-09-01_databases

# if you need release sources:
> apt-get install tdaq-01-09-01_src
It will download and install all necessary dependencies.

tdaq-01-09-01 is available for the following platforms (tags):
i686_slc4_gcc34_opt, i686_slc4_gcc34_dbg

To update your installation with the latest patched versions:
> apt-get update
> apt-get upgrade

To remove a particular package (-D option removes also all dependencies if they are not used by some other packages)
> apt-get remove <package>
> apt-get remove -D <package>

To install a particular version of a package (e.g. an older version, if you want to roll-back from a particular patch level):
> apt-get install <package>=<version>

Some useful RPM commands:
> rpm -qa # get list of all installed packages
> rpm -qi <package> # get info about particular package
>
rpm -ql <package> # list all files in particular package

+++ see man pages on apt-get and rpm for more details.

Direct download links to RPM packages (updates contain the most recent patched versions of s/w):

LCG
tdaq-common: stable   updates
tdaq: stable   updates
tdaq-external (JDK):  
stable

RPM package naming convention: <project>_<tag>-<patch_level>-<package_version>.noarch.rpm, where for example
project=tdaq-common-01-08-00; tag=i686_slc4_gcc34_opt, src or noarch; patch_velel=09; package_version is irrelevant.



Last updated: AK, 13.04.2008
Icon  Name                             Last modified      Size  Description
[DIR] Parent Directory - [DIR] PATCHES/ 14-Jan-2009 09:37 - [TXT] RELEASE_NOTES.html 25-Nov-2008 08:33 99K [DIR] RPMS/ 17-Jan-2008 12:35 -