TWiki Legacy - InstallingXRootD5

  1. Use the official

XRootD 5 repos at CERN for the main code and the XRootD Ceph plugin. NB If you're not on a Quattor-managed VM, leave out the ".quattor" part of the following pathnames (but check/create an empty .pkgs file in the yum.quattor.repos.d directory for each repo).

cat /etc/yum.quattor.repos.d/xrootd-stable-slc7.repo

[xrootd-stable]
name=XRootD Stable repository
baseurl=http://xrootd.cern.ch/sw/repos/stable/slc/7/x86_64
gpgcheck=1
enabled=1
protect=0
gpgkey=http://xrootd.cern.ch/sw/releases/RPM-GPG-KEY.txt

cat /etc/yum.quattor.repos.d/xrootd-ceph-slc7.repo (the rpm in this repo contain shared libraries suffixed with 4 instead of 5)

[xrootd-ceph]
name=XRootD Ceph repository
baseurl=http://xrootd.cern.ch/xrootd-ceph-repo/cc-7-x86_64/
gpgcheck=1
enabled=1
protect=0
gpgkey=http://xrootd.cern.ch/sw/releases/RPM-GPG-KEY.txt

cat /etc/yum.quattor.repos.d/xrootd-ceph-scd-el7-x86_64.repo (this is the local repo at RAL created to contain the XRootD Ceph plugin versions compiled at RAL) [xrootd-ceph-scd-el7-x86_64]
name=xrootd-ceph-scd-el7-x86_64
baseurl=http://repos.gridpp.rl.ac.uk/yum/xrootd-ceph/nautilus/el7/x86_64/
metadata_expire=7d
enabled=1
gpgcheck=0
skip_if_unavailable=0

yum install -y xrootd-devel

  1. Get an updated version of the xrootd-cmstfc package from

https://repo.opensciencegrid.org/osg/upcoming/el7/release/x86_64/ , e.g: wget https://repo.opensciencegrid.org/osg/upcoming/el7/release/x86_64/xrootd-cmstfc-1.5.2-6.osgup.el7.x86_64.rpm  
rpm -ivh xrootd-cmstfc-1.5.2-6.osgup.el7.x86_64.rpm*

(Change the version number of the RPM as appropriate.)