{% comment %} Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 modules_to_enable and packages_to_install may be space-separated strings {% endcomment %} {%- if modules_to_enable != nil %} {% include 'notebox_begin_warning' %} Arvados tools require newer language runtimes than the default versions included with these distributions. These instructions will **upgrade language runtimes for the entire system**. Check that won't interfere with any existing software before you proceed. {% include 'notebox_end' %} {% endif -%} Set up the Arvados package repository {%- if packages_to_install == nil %} {%- elsif packages_to_install contains " " %} and install the packages {%- else %} and install @{{ packages_to_install }}@ {%- endif %} by running these commands:
# tee /etc/yum.repos.d/arvados.repo >/dev/null <<'EOF'
[arvados]
name=Arvados
baseurl=http://rpm.arvados.org/RHEL/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://rpm.arvados.org/RHEL/RPM-GPG-KEY-arvados
EOF
{%- if modules_to_enable != nil %}
# dnf module enable {{ modules_to_enable }}
{% endif -%}
{%- if packages_to_install != nil -%}
# dnf install {{ packages_to_install }}
{% endif -%}