Many operations in Arvados can be performed using either the web Workbench or through command line tools. Some operations can only be done using the command line.
To use the command line tools, you can either log into an Arvados virtual machine where those tools are pre-installed, or install the Arvados tools on your own system.
This is the command line interface we recommend for most day-to-day work, because the tools are all preinstalled and preconfigured for you. You can log in to any virtual machine where you have permission by using:
This option gives you more flexibility in your work, but takes more time to set up.
pipxTo start getting work done on your Arvados cluster from the command line, install the arvados-tools Python package that contains CLI tools and client libraries.
The recommended way to install arvados-tools is to use pipx. If you need to install pipx:
sudo apt install pipx.sudo dnf install pipx.pipx ensurepath.If you need troubleshooting or other help, refer to the pipx documentation. After pipx is installed, run:
$ pipx install --include-deps arvados-tools
Set up the Arvados package repository and install the packages by running these commands:
# install -d /etc/apt/keyrings
# curl -fsSL -o /etc/apt/keyrings/arvados.asc https://apt.arvados.org/pubkey.gpg
# declare $(grep "^VERSION_CODENAME=" /etc/os-release || echo VERSION_CODENAME=MISSING)
# tee /etc/apt/sources.list.d/arvados.sources >/dev/null <<EOF
Types: deb
URIs: https://apt.arvados.org/$VERSION_CODENAME
Suites: $VERSION_CODENAME
Components: main
Signed-by: /etc/apt/keyrings/arvados.asc
EOF
# apt update
# apt install arvados-client python3-arvados-python-client python3-arvados-cwl-runner python3-arvados-fuse python3-crunchstat-summary
Set up the Arvados package repository and install the packages by running these commands:
# tee /etc/yum.repos.d/arvados.repo >/dev/null <<'EOF'
[arvados]
name=Arvados
baseurl=https://rpm.arvados.org/RHEL/$releasever/os/$basearch/
gpgcheck=1
gpgkey=https://rpm.arvados.org/RHEL/$releasever/RPM-GPG-KEY-arvados
EOF
# dnf install arvados-client python3-arvados-python-client python3-arvados-cwl-runner python3-arvados-fuse python3-crunchstat-summary
Once you have the command line tools installed, proceed to getting an API token.
The content of this documentation is licensed under the
Creative
Commons Attribution-Share Alike 3.0 United States licence.
Code samples in this documentation are licensed under the
Apache License, Version 2.0.