Page updated: 16/04/2005
About the website

                Valid XHTML 1.0!

gLite RPM APT repository to install supported glite 3.0 metapackages on SL4

Important notice

The packages served by this repository have been compiled on SL3 but can be installed and run on SL4.

Installation instructions


Yum

Yum is the default package manager on SL4 and it is recommended to use YUM as installation tool.

Set up YUM repository

In order to set up the yum repository for gLite you need to put the following part into a file called /etc/yum.repos.d/glite.repo:

[main]
[glite]
name=gLite Base
baseurl=http://glitesoft.cern.ch/EGEE/gLite/APT/R3.0/sl4-compat/
enabled=1

[glite-ca]
name=gLite Base
baseurl=http://linuxsoft.cern.ch/LCG-CAs/current
enabled=1
	
Please also make sure that the jpackage repository is enabled (e.g. via /etc/yum.repos.d/jpackage.repo):
[main]
[jpackage16-generic]
name=JPackage 1.6, generic
baseurl=http://linuxsoft.cern.ch/jpackage/1.6/generic/free/
enabled=1

[jpackage16-rhel40]
name=JPackage 1.6 for Red Hat Enterprise Linux 4
baseurl=http://linuxsoft.cern.ch/jpackage/1.6/redhat-el-4.0/free/
enabled=0

and the DAG repository (e.g. via /etc/yum.repos.d/dag.repo)
[main]
[dag]
name=DAG (http://dag.wieers.com) additional RPMS repository
baseurl=http://linuxsoft.cern.ch/dag/redhat/el4/en/$basearch/dag
enabled=1

APT

Install APT

Prior to installing the APT you might want to verify whether it is not already present on your system with the command:

rpm -qa | grep apt

If you did not find the APT, as a root user please install it with the command (using the Scientific Linux repository):

rpm -ivh
http://linuxsoft.cern.ch/cern/slc44/i386/SL/RPMS/apt-0.5.15cnc7-1.SL4.cern.i386.rpm

Set up APT repository

First make sure that you include the SL4 OS repository in your apt definition. As an example
for the SL4 OS repository, to use the CERN repository you can create the file
/etc/apt/sources.list.d/cern.list with the following content:

rpm http://linuxsoft.cern.ch/ cern/slc4X/i386/apt os updates extras

rpm-src http://linuxsoft.cern.ch/ cern/slc4X/i386/apt os updates extras

For DAG dependencies create the file /etc/apt/sources.list.d/dag.list with the following content

rpm http://linuxsoft.cern.ch dag/redhat/el4/en/i386 dag

For jpackage dependencies create the file /etc/apt/sources.list.d/jpackage.list with the following content

rpm http://linuxsoft.cern.ch/ jpackage/1.6/generic free devel

rpm http://linuxsoft.cern.ch/ jpackage/1.6/redhat-el-3.0 free devel

For the glite release you will need to create the file /etc/apt/sources.list.d/glite.list with the following content

rpm http://glitesoft.cern.ch/EGEE/gLite/APT/R3.0 sl4-compat Release3.0 externals updates

Finally, run:

apt-get update
apt-get dist-upgrade


(this will upgrade the apt and all not-up-to-date packages installed on your system and add any new package)

Then proceed with the module of your choice via


apt-get install XXXX

where XXXX is the name of your module:

Supported metapackages


glite-WN_sl4compat
This is the gLite 3.0 glite-WN compatibility metapackage for SL4 nodes.

As a general remark, the metapackage contains special setting to allow the installation of the metapackage:
It uses special provide settings in order to "simulate" the necessary requirements for installation:
 
Provides perl-Net-LDAP
perl-XML-SAX-Base
libtcl8.3.so
libtk8.3.so
libstdc++ = 3.2.3
 

Questions/comments

Should you encounter problems - please direct them to: glite-bugs@cern.ch.

The APT HOWTO could be found on the Debian site or directly here