RPM installation as root

If you have root access where you are installing pdrApp, you can install using the default options. This will install the packages into /usr/GLAST/ground using the system wide package database in /var/lib/packages.

# rpm -i ftp://ftp-glast.slac.stanford.edu/glast.u08/PDR/glast-CLHEP-1.6.0-0.i386.rpm
# rpm -i ftp://ftp-glast.slac.stanford.edu/glast.u08/PDR/glast-HTL-1.3.0-1.i386.rpm
# rpm -i ftp://ftp-glast.slac.stanford.edu/glast.u08/PDR/glast-ROOT-3.00-06.i386.rpm
# rpm -i ftp://ftp-glast.slac.stanford.edu/glast.u08/PDR/glast-xerces-1.5-2.i386.rpm

for redhat 6.x:

# rpm -i ftp://ftp-glast.slac.stanford.edu/glast.u08/PDR/glast-Gaudi-7-0-rh6.i386.rpm
# rpm -i ftp://ftp-glast.slac.stanford.edu/glast.u08/PDR/pdrApp-7-2-rh6.i386.rpm
for redhat 7.x:
# rpm -i ftp://ftp-glast.slac.stanford.edu/glast.u08/PDR/glast-Gaudi-7-0-rh7.i386.rpm
# rpm -i ftp://ftp-glast.slac.stanford.edu/glast.u08/PDR/pdrApp-7-2-rh7.i386.rpm

run by executing the pdrApp.sh script in the pdrApp/v7r2 directory

$ /usr/GLAST/ground/pdrApp/v7r2/pdrApp.sh


RPM installation as a user

If you are installing the rpm packages as a normal user, you have to create a private package database:

$ mkdir ~/rpm-db
$ rpm --dbpath ~/rpm-db --initdb        

Then install the packages, telling rpm an alternate installation directory and database path. Also, since we are not using a pre-populated system database, we have to tell rpm to ignore the dependencies it thinks it is missing.

$ rpm --dbpath ~/rpm-db --prefix=/u/gl/als/GLAST -i glast-CLHEP-1.6.0-0.i386.rpm --nodeps
$ rpm --dbpath ~/rpm-db --prefix=/u/gl/als/GLAST -i glast-HTL-1.3.0-1.i386.rpm --nodeps
$ rpm --dbpath ~/rpm-db --prefix=/u/gl/als/GLAST -i glast-ROOT-3.00-06.i386.rpm --nodeps
$ rpm --dbpath ~/rpm-db --prefix=/u/gl/als/GLAST -i glast-xerces-1.5-2.i386.rpm --nodeps
$ rpm --dbpath ~/rpm-db --prefix=/u/gl/als/GLAST -i glast-Gaudi-7-0-rh6.i386.rpm --nodeps
$ rpm --dbpath ~/rpm-db --prefix=/u/gl/als/GLAST -i pdrApp-7-2-rh6.i386.rpm --nodeps

run by executing the pdrApp script in the pdrApp/v7r2 directory, found in the path supplied to --prefix above:

$ /u/gl/als/GLAST/pdrApp/v7r2/pdrApp.sh
more rpm commands
if this doesn't work: als@slac.stanford.edu
last modified: 1/28/02 14:20:00 PST