Docs

Install XFC client

 

Install XFC client

XFC client install  

In order to initiate and manage your usage of the XFC (transfer cache) service, you need to use the XFC client.

Once set up, you don’t need to use this client to read/write data to XFC storage itself, but you can use it to interrogate the system to find out what data you have stored and how much of your quota(s) you are using.

The following steps should be used to create a python virtual environment and pip to install the xfc client:

NOTE: the install procedure changed on 22/10/2026. PyPi is now used to make installation much easier.

NOTE: do these steps on one of the sci (not xfer) servers:

  1. Log into one of the sci machines: e.g. sci-vm-02.jasmin.ac.uk (1 - 8 is available)
  2. The xfc client can be used with Python 3 using jaspy.
module load jaspy

Setup a virtual environment in your home directory:

python -m venv ~/xfc_venv
  1. Activate the virtual environment:
source ~/xfc_venv/bin/activate
  1. Install the XFC client from PyPi:
pip install xfc-client
  1. Use xfc on the command line
xfc --help

Users who already have a Python virtual environment can skip step 2 and install into an existing virtual environment.

The recommendation for users using NLA, XFC and JDMA is to create a single virtual environment to install all 3 client applications into.

The xfc client can be used without activating the python virtualenv by adding the path to the xfc client to the $PATH$ environment variable:

export PATH="$PATH:~/xfc_venv/bin"
echo 'export PATH="$PATH:~/xfc_venv/bin"' >> "$HOME/.bashrc"

The xfc client can now be used by invoking xfc from the command line without activating the virtualenv.

For instructions on how to use the xfc client, see the article JASMIN Transfer Cache (XFC).

• Last updated on 2026-11-27 as part of:  Merge pull request #357 from cedadev/xfc_27nov (7a20a09)
Follow us

Social media & development