ALERT! WARNING: This page is obsolete.






Install Scientific Linux 4

Warning, important 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
    • also select gfortran
  • 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

Warning, important 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>

(Tip, idea, 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.)

Warning, important 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`

Warning, important 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.

Note 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

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2026-09-29 - AsokaDeSilva
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback