WARNING: This page is obsolete.
Install Scientific Linux 4

You will need system privileges for this.
Install Scientific Linux on your computer; you can choose any packages or versions you like but make sure that the following are also installed:
- OpenAFS
- Development Tools
- Legacy Software Development
- You also need the package compat-db for compatibility with older gcc compilers; you can install this afterwords with
yum install compat-db
- I also recommend you install yum-protectbase;
yum install yum-protectbase
- Also blas is needed for pythia.
- Subversion and cvs should be installed / updated from the CERN SLC repository. To do this, in /etc/yum.repos.d, create a file
slc4X.repo with the following contents:
[slc4x-base]
name=SLC 4X base
baseurl=http://linuxsoft.cern.ch/cern/slc4X/$basearch/yum/os/
enabled=1
protect=1
gpgcheck=0
includepkgs=cvs-* subversion*
Post-Installation
Post-Installation Extras for 64-bit Installations:
These installations are needed so that you can run on 32-bit Athena releases.
- You may also want to install these packages as detailed in the ATLAS Wiki
.
- Also needed: curl.i386, compat-openldap.i386, libtiff.i386, libungif.i386 and libpng.i386 (the last 3 for ROOT from Athena.)
- To compile against a 32-bit release you will also need (at least) libstdc++-devel.x86_64
Updating

You will need root access to use yum.
Your system should automatically do nightly updates with yum and a logfile is available: /var/log/yum.log ; to ensure yum updating is enabled:
service yum start
chkconfig yum on
With yum, it is easy to upgrade the installed software to the latest versions. Yum will check that there are no conflicts with dependencies before installation or any upgrades. It relies on repositories which are configured in /etc/yum.repos.d. Some useful commands:
yum update
yum list
yum install <package>
(

, you can also do a rpm -qa to list all the installed rpm packages on your computer; you do not need system privileges for this.)

If you do a kernel upgrade, you also need to reboot and follow up by doing an upgrade to the OpenAfs kernel module:
yum list kernel-module-openafs-`uname -r`

gLite recommends
against
doing automatic updates for this package. You can update everything else by exclude this repository with a yum flag:
yum update --disablerepo=glite* --disablerepo=jpackage* --disablerepo=dag
(or set enable=0 in the appropriate packages in /etc/yum.repos.d ) However, I have not seen any problems in the 9 months since I let yum also update gLite for me.

One useful feature of yum is the protect flag which is available if you installed yum-protectbase. This gives priority to a trusted repository; for example, if the same software is available from daq.repo and sl.repo, and dag.repo has a protect=0 line it it whereas sl.repo has a protect=1 entry, then the version in sl.repo will not be overridden.
--
AsokaDeSilva - 08 Nov 2007