Source code

You can get the most recent source tree by cloning our main git repository:

git clone https://github.com/xrootd/xrootd.git

Please make sure to check for any warnings about known release issues and other upgrade information prior to installing a release. You can also read the RELEASE NOTES and download the source tarballs:

Date File Size MD5 Checksum Comment
2024-09-03 xrootd-5.7.1.tar.gz 6819353 bytes 52599e6df09016998c09d00115cb5852 Version 5.7.1
2024-07-01 xrootd-5.7.0.tar.gz 6807467 bytes 68af782e310c7b6cccf589479de14e34 Version 5.7.0
2024-03-08 xrootd-5.6.9.tar.gz 6701277 bytes 48a3fe6e8768305b742dd2d08404114c Version 5.6.9
2024-02-23 xrootd-5.6.8.tar.gz 6700235 bytes 6b3002a6e8783eb8e677187b80348d01 Version 5.6.8
2024-02-06 xrootd-5.6.7.tar.gz 6698751 bytes 877d79d4e5d76e77512ad35ce142ea53 Version 5.6.7
2024-01-25 xrootd-5.6.6.tar.gz 6698407 bytes 5738566c6dbadfd27c367dce49f92aa1 Version 5.6.6
2024-01-22 xrootd-5.6.5.tar.gz 6698610 bytes e8900bf0167c7a1e894f5c0be037efd3 Version 5.6.5
2023-12-11 xrootd-5.6.4.tar.gz 6696858 bytes ea36b0c9b6acdae60cad29e93de8fb02 Version 5.6.4
2023-10-27 xrootd-5.6.3.tar.gz 3257144 bytes a210ca0d64421fadb32fd98b9984e386 Version 5.6.3
2023-09-15 xrootd-5.6.2.tar.gz 3251295 bytes da6ac07199bd0f900f535508e2e74236 Version 5.6.2
2023-07-11 xrootd-5.6.1.tar.gz 3278351 bytes 3bb2c7d02a2399d8a82849803d2175cc Version 5.6.1
2023-06-30 xrootd-5.6.0.tar.gz 3277803 bytes 91d5a879ef9e3b82416efac64436be35 Version 5.6.0
2023-05-08 xrootd-5.5.5.tar.gz 3243062 bytes bce8fef73ef56b24e03fc4a7b0653dbf Version 5.5.5
2023-03-24 xrootd-5.5.4.tar.gz 3241021 bytes 623e280752f077a7ed0648b43d0a4eec Version 5.5.4
2023-02-17 xrootd-5.5.3.tar.gz 3236161 bytes e4cf425239786cbc8c7f0b4806673d99 Version 5.5.3
2023-02-07 xrootd-5.5.2.tar.gz 3236018 bytes 7c955511283a16de98dbcc4abaa10643 Version 5.5.2
2022-10-19 xrootd-5.5.1.tar.gz 3229925 bytes 4e251e3a75e1f43aab7c91ad365e566c Version 5.5.1
2022-08-26 xrootd-5.5.0.tar.gz 3227490 bytes 54c274b7346eaf794ccff6c8868390ae Version 5.5.0
2022-06-09 xrootd-5.4.3.tar.gz 3182127 bytes d00712e5d185a2ac69399730fb52917f Version 5.4.3
2022-03-02 xrootd-5.4.2.tar.gz 3233987 bytes 96957ed911ea62f2ff044f0aa107fb6e Version 5.4.2
2022-02-23 xrootd-5.4.1.tar.gz 3233991 bytes 7610785a64f5924563af2d376ccd255b Version 5.4.1
2021-12-10 xrootd-5.4.0.tar.gz 3225065 bytes b94226b4be27bd19c089ed3ba21a3670 Version 5.4.0
2021-11-29 xrootd-5.3.4.tar.gz 3018399 bytes 921128054efe20bc0544e8b45c8ff169 Version 5.3.4
2021-11-15 xrootd-5.3.3.tar.gz 3018872 bytes d5b1516b68c594a004534753cd20cd69 Version 5.3.3
2021-10-22 xrootd-5.3.2.tar.gz 3018821 bytes ea070b53fa45a7ac2fc091d8eca35987 Version 5.3.2
2021-07-30 xrootd-5.3.1.tar.gz 2957788 bytes 046b4ba0fc4291adc387a47069a09ad8 Version 5.3.1
2021-07-09 xrootd-5.3.0.tar.gz 2956796 bytes b0296d50d98490bd8f1d0c0661bff06f Version 5.3.0
2021-05-20 xrootd-5.2.0.tar.gz 2935040 bytes edd29b8ee6c613d2613e7697e2d0ff90 Version 5.2.0
2021-03-10 xrootd-5.1.1.tar.gz 2869346 bytes 0366fd34f423692d7e1565f52f542277 Version 5.1.1
2021-02-23 xrootd-5.1.0.tar.gz 2862622 bytes 531310ba1c96a27bc2f28770fae9c99f Version 5.1.0
2020-12-11 xrootd-4.12.6.tar.gz 2582052 bytes 6e35dea612e95fb23bae720baf952004 Version 4.12.6
2020-11-11 xrootd-5.0.3.tar.gz 2766694 bytes dfa4b4845be4bd3e4f3456ac8a202ae0 Version 5.0.3
2020-10-16 xrootd-4.12.5.tar.gz 2580794 bytes d15d3e700001e48ab2cce6c83879a17e Version 4.12.5
2020-09-18 xrootd-5.0.2.tar.gz 2764503 bytes 4488ead0875f88b7e44deef8eb87136a Version 5.0.2
2020-09-03 xrootd-4.12.4.tar.gz 2577360 bytes 4cfa02532b2a284b987c1c5e51b9dc09 Version 4.12.4
2020-08-12 xrootd-5.0.1.tar.gz 2759931 bytes 65ee3cb554c8825afef29aeba9d1f714 Version 5.0.1
2020-07-07 xrootd-5.0.0.tar.gz 2754256 bytes 85912c915439533848e4c1864bb8888a Version 5.0.0
2020-06-11 xrootd-4.12.3.tar.gz 2574996 bytes 7367ec81a201b8b9b50b80d38b897be1 Version 4.12.3
2020-06-05 xrootd-4.12.2.tar.gz 2574963 bytes 692bed592761c84ff040f14e5a187d46 Version 4.12.2
2020-05-13 xrootd-4.12.1.tar.gz 2564202 bytes 2f686137ca434301ec6b44180a24e4d0 Version 4.12.1
2020-05-08 xrootd-4.12.0.tar.gz 2564041 bytes 1fb9f0f299ab233945fb9bb129f2c2d1 Version 4.12.0
2020-03-23 xrootd-4.11.3.tar.gz 2555181 bytes d5965ec76d6c028aa7f99b4d742965c4 Version 4.11.3
2020-02-03 xrootd-4.11.2.tar.gz 2551556 bytes 065f8c1d51fdb8b109d2e42e457175f1 Version 4.11.2
2019-12-17 xrootd-4.11.1.tar.gz 2549971 bytes 3a243f7d4c9868cead59c5861530ebce Version 4.11.1
2019-10-09 xrootd-4.11.0.tar.gz 2548380 bytes f3cbd2c8dd680a2fdf6b33e77bba09bf Version 4.11.0
2019-10-01 xrootd-4.10.1.tar.gz 2532982 bytes 4cac567741a6d95f63fafac5f9e648e2 Version 4.10.1
2019-07-15 xrootd-4.10.0.tar.gz 2532873 bytes bb7d29d6d885e3fa318144ad16b49b10 Version 4.10.0
2019-04-05 xrootd-4.9.1.tar.gz 2523674 bytes 9508f2dda35db46baa5e421707b32d59 Version 4.9.1
2019-04-02 xrootd-4.8.6.tar.gz 2396858 bytes 198ba1be6f3ffa0f9231d52e18d0c5e6 Version 4.8.6
2019-02-22 xrootd-4.9.0.tar.gz 2517614 bytes 6729c948e1d3feb5df78bdde96ec1b93 Version 4.9.0
2018-10-22 xrootd-4.8.5.tar.gz 2396436 bytes 992f831702a95fde1286091f54cc9b50 Version 4.8.5
2018-07-06 xrootd-4.8.4.tar.gz 2390944 bytes b45e369718093a2a66534884a55ed242 Version 4.8.4
2018-04-27 xrootd-4.8.3.tar.gz 2390520 bytes bb6302703ffc123f7f9141ddb589435e Version 4.8.3
2018-04-11 xrootd-4.8.2.tar.gz 2390403 bytes 531b632191b59c2cf76ab8d31af4a866 Version 4.8.2
2018-01-29 xrootd-4.8.1.tar.gz 2383912 bytes a307973f7f43b0cc2688dfe502e17709 Version 4.8.1
2017-12-14 xrootd-4.8.0.tar.gz 2382537 bytes 4349e7f664e686b72855e894b49063ad Version 4.8.0
2017-11-01 xrootd-4.7.1.tar.gz 2369192 bytes 4006422bcf99e0a19996ace4ebb99175 Version 4.7.1
2017-08-28 xrootd-4.7.0.tar.gz 2364612 bytes 2a92ba483f574c6ba6a9ff061878af22 Version 4.7.0
2017-05-08 xrootd-4.6.1.tar.gz 2214545 bytes 70c6f6e1f5f2b4eeb3c7d2c41a36bb2c Version 4.6.1
2017-02-07 xrootd-4.6.0.tar.gz 2206832 bytes 5d60aade2d995b68fe0c46896bc4a5d1 Version 4.6.0
2016-11-11 xrootd-4.5.0.tar.gz 2172752 bytes d485df3d4a991e1c35efa4bf9ef663d7 Version 4.5.0
2016-10-03 xrootd-4.4.1.tar.gz 2147177 bytes 72b0842f802ccc94dede4ac5ab2a589e Version 4.4.1
2016-07-21 xrootd-4.4.0.tar.gz 2146909 bytes 58f55e56801d3661d753ff5fd33dbcc9 Version 4.4.0
2016-02-25 xrootd-4.3.0.tar.gz 2122036 bytes 39c2fab9f632f35e12ff607ccaf9e16c Version 4.3.0
2016-09-30 xrootd-4.2.4.tar.gz 2050381 bytes f6abed9b7cb6ac0f1dbcabb52f1adb32 Version 4.2.4
2015-09-03 xrootd-4.2.3.tar.gz 2050179 bytes 7b04ae82684e165bf57d05cfe7e7e33d Version 4.2.3
2015-07-24 xrootd-4.2.2.tar.gz 2127581 bytes b746481a2f3dd6c04031ee0a76994cbe Version 4.2.2
2015-06-01 xrootd-4.2.1.tar.gz 2070389 bytes 1e914d340a2f84641ea0287ebaee9276 Version 4.2.1
2015-04-29 xrootd-4.2.0.tar.gz 2070050 bytes e9c4602c7dbae0588c44c58fc850ffa9 Version 4.2.0
2015-06-01 xrootd-4.1.3.tar.gz 1958461 bytes 196a04b2a8725c43c786bf5d2d848a8a Version 4.1.3
2015-04-17 xrootd-4.1.2.tar.gz 1958244 bytes 85086a38525db231bfc6dd20f0da314b Version 4.1.2
2014-12-04 xrootd-4.1.1.tar.gz 1957303 bytes 50db07fe2d30fbb0530a218d478d5267 Version 4.1.1
2014-11-27 xrootd-4.1.0.tar.gz 1956724 bytes e6a674d664a3be411ac1ae46ca241e5b Version 4.1.0
2014-10-22 xrootd-4.0.4.tar.gz 1920380 bytes da171c06e50673760fc1d648811253de Version 4.0.4
2014-07-31 xrootd-4.0.3.tar.gz 1918530 bytes 46237c2de3f92f0f7b44ff53eba9a5e6 Version 4.0.3
2014-07-17 xrootd-4.0.2.tar.gz 1918407 bytes 8b7a7c46e57f4ce7cf4acb74752f8fa5 Version 4.0.2
2014-07-11 xrootd-4.0.1.tar.gz 1917956 bytes 8e384d1b6f3eaad16ccce2a829488f07 Version 4.0.1
2014-06-05 xrootd-4.0.0.tar.gz 1915711 bytes 2fb3c3ac1d683270f2ec5b276e3fa726 Version 4.0.0
2014-01-16 xrootd-3.3.6.tar.gz 1836866 bytes 2c16a144e938e43cc637b990d317a3f4 Version 3.3.6
2013-11-29 xrootd-3.3.5.tar.gz 1835874 bytes c6dc6153e7d08dee67c971aae3b7c101 Version 3.3.5
2013-10-11 xrootd-3.3.4.tar.gz 1835320 bytes a98ac5903a9661ac7dff3179bcc4ba36 Version 3.3.4
2013-07-24 xrootd-3.3.3.tar.gz 1810204 bytes 8c2a2d66a684a8f4395c02ae249f5706 Version 3.3.3
2013-04-26 xrootd-3.3.2.tar.gz 1829741 bytes 26bcb085913d5245bf27ee59c4fdbce0 Version 3.3.2
2013-03-06 xrootd-3.3.1.tar.gz 1816739 bytes 8389af6838df7a5d6e5f7a6d10427b9a Version 3.3.1
2013-02-18 xrootd-3.3.0.tar.gz 1816594 bytes 37048f6c6f29e3a2398ab95c06e2a63a Version 3.3.0

Official RPM Repositories

We build RPMs for RHEL-based distributions and make them available through dnf/yum. The repo files are available at:

For example, to use the official repository on Alma 9, one can fetch the repository with:

curl -L https://xrootd.web.cern.ch/xrootd.repo -o /etc/yum.repos.d/xrootd.repo

Each of these repo files define three repositories: xrootd-stable, which contains stable releases, xrootd-testing, which tracks the devel branch upstream, and xrootd-source, which provides the source RPMs to allow one to download sources and patches for a release and build/rebuild custom RPMs locally. By default, only the main xrootd-stable repository and the xrootd-source repository for the sources are enabled. All RPMs on these repositories are signed with the following GPG key:

Using SRPMs to Build XRootD

Once the official RPM repository is configured, it is possible to download the latest source RPMs and rebuild it locally with yum/dnf as shown below:

CentOS 7

yum install -y yum-utils
yumdownloader --source xrootd
sudo yum install -y centos-release-scl epel-release rpmdevtools
rpmdev-setuptree
sudo yum-builddep -y xrootd-*.src.rpm # the file just downloaded
rpmbuild --rebuild --without tests xrootd-*.src.rpm

or, on Alma 9

dnf install dnf-plugins-core
dnf download --source xrootd
sudo dnf install -y epel-release rpmdevtools
sudo dnf config-manager --set-enabled crb # or powertools on Alma 8
rpmdev-setuptree
sudo dnf builddep -y xrootd-*.src.rpm # the file just downloaded
rpmbuild --rebuild --without tests xrootd-*.src.rpm

Building RPM packages using xrootd.spec

There are two main methods for building RPMs using the xrootd.spec file at the root of the XRootD git repository. If you just would like to build the latest release, the steps are as shown below (using Alma 9 as example):

curl -L https://github.com/xrootd/xrootd/raw/master/xrootd.spec -o xrootd.spec
sudo dnf install -y epel-release rpmdevtools dnf-plugins-core # install pre-requisites
sudo dnf config-manager --set-enabled crb     # enable crb repository by default
rpmdev-setuptree                              # create ~/rpmbuild and subdirectories
sudo dnf builddep -y xrootd.spec              # install XRootD build dependencies
spectool -g -R xrootd.spec                    # download upstream source tarball
rpmbuild -bb --without tests xrootd.spec      # build RPMs
sudo dnf install -y ~/rpmbuild/RPMS/*/*.rpm   # install RPMs

Note that most steps can be performed as a regular user, only installation of dependencies needs to be done as root.

The other method allows to build RPMs for the currently checked out git branch. In this case, we should produce a tarball ourselves, and then use --with git to build:

git clone https://github.com/xrootd/xrootd
cd xrootd
rpmdev-setuptree
git archive --prefix xrootd/ -o $(rpm -E '%{_sourcedir}')/xrootd.tar.gz HEAD
sudo dnf builddep -y xrootd.spec
rpmbuild -bb --with git xrootd.spec
sudo dnf install -y ~/rpmbuild/RPMS/*/*.rpm

This is the method used in the continuous integration system to build RPMs. The versions created when building in this mode are based on the last tag, the number of commits that come after it, and a git hash corresponding to the last commit in the branch.

Official DEB Repositories

We build official DEB packages for Debian and Ubuntu distributions. If you would like to use our repositories to get more recent versions of XRootD on your distribution, please see below how to enable it.

First, the GPG key used to sign the repositories needs to be installed, to allow apt to trust our repository. We sign the DEB packages with the same key used for RPMs. To install it, simply download the public key and place it into /etc/apt/trusted.gpd.d/:

curl -L https://xrootd.web.cern.ch/repo/RPM-GPG-KEY.txt -o /etc/apt/trusted.gpg.d/xrootd.asc

Note that the extension .asc is important here. If you do not use this extension, apt may try to process the key as binary instead of ASCII armored text.

Next, you need to choose the right repository URL and component to use. We provide repositories for Debian 11 (bullseye), Debian 12 (bookworm), Ubuntu 22.04 (jammy), and Ubuntu 24.04 (noble). Similarly to our RPM repositories, we offer two repositories: stable and testing. The stable repository (i.e. the apt component) contains XRootD stable releases and should be the preferred option. The testing repository contains development versions of XRootD based on the devel branch from git. To setup the repository on Debian 12, using the stable component, you can run

echo "deb https://xrootd.web.cern.ch/debian bookworm stable" >> /etc/apt/sources.list.d/xrootd.list

On Ubuntu 24.04, run the following instead

echo "deb https://xrootd.web.cern.ch/ubuntu noble stable" >> /etc/apt/sources.list.d/xrootd.list

Depending on the distribution, you may need to use the file /etc/apt/sources.list instead of using the directory /etc/apt/sources.list.d. Nevertheless, the line to be added is the same as in the command above.

Once the repository is setup, one can install the packages as usual:

apt update
apt install xrootd-client xrootd-server python3-xrootd

Starting with XRootD 5.7.0, the official repositories also offer a metapackage xrootd which will install both xrootd-client and xrootd-server together.

Continuous Integration Builds

XRootD uses GitHub Actions and GitLab CI for continuous integration. Incremental builds are accessible on each of these platforms at the links below:

Build artifacts can be downloaded from the links above for a short period before they expire. If you have a fork of XRootD, the builds to create DEB/RPM packages can also be run on demand. Please see the link below for instructions on how to do that:

https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow