Merge branch '20797-rhel8-packages'
[arvados.git] / doc / install / packages.html.textile.liquid
1 ---
2 layout: default
3 navsection: installguide
4 title: Arvados package repositories
5 ...
6 {% comment %}
7 Copyright (C) The Arvados Authors. All rights reserved.
8
9 SPDX-License-Identifier: CC-BY-SA-3.0
10 {% endcomment %}
11
12 On any host where you install Arvados software, you'll need to add the Arvados package repository.  They're available for several popular distributions.
13
14 * "AlmaLinux, CentOS, RHEL, and Rocky Linux":#redhat
15 * "Debian and Ubuntu":#debian
16
17 <notextile>
18 <a id="centos7" style="display: none;"></a>
19 </notextile>
20
21 h3(#redhat). AlmaLinux, CentOS, RHEL, and Rocky Linux
22
23 Packages are available for the following Red Hat-based distributions:
24
25 * AlmaLinux 8
26 * CentOS 7
27 * CentOS 8
28 * RHEL 8
29 * Rocky Linux 8
30
31 To install them with dnf or yum, save this configuration block in @/etc/yum.repos.d/arvados.repo@:
32
33 <notextile>
34 <pre><code>[arvados]
35 name=Arvados
36 baseurl=http://rpm.arvados.org/CentOS/$releasever/os/$basearch/
37 gpgcheck=1
38 gpgkey=http://rpm.arvados.org/CentOS/RPM-GPG-KEY-arvados
39 </code></pre>
40 </notextile>
41
42 {% include 'gpg_key_fingerprint' %}
43
44 h3(#debian). Debian and Ubuntu
45
46 Packages are available for recent versions of Debian and Ubuntu.
47
48 First, register the Arvados signing key in apt's database:
49
50 {% include 'install_debian_key' %}
51
52 {% include 'gpg_key_fingerprint' %}
53
54 As root, add the Arvados package repository to your sources.  This command depends on your OS vendor and version:
55
56 table(table table-bordered table-condensed).
57 |_. OS version|_. Command|
58 |Debian 11 ("bullseye")|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/bullseye bullseye main" &#x7c; tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
59 |Debian 10 ("buster")|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/buster buster main" &#x7c; tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
60 |Ubuntu 20.04 ("focal")[1]|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/focal focal main" &#x7c; tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
61 |Ubuntu 18.04 ("bionic")[1]|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/bionic bionic main" &#x7c; tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
62
63
64 {% include 'notebox_begin' %}
65
66 fn1. Arvados packages for Ubuntu may depend on third-party packages in Ubuntu's "universe" repository.  If you're installing on Ubuntu, make sure you have the universe sources uncommented in @/etc/apt/sources.list@.
67
68 {% include 'notebox_end' %}
69
70 Retrieve the package list:
71
72 <notextile>
73 <pre><code># <span class="userinput">apt-get update</span>
74 </code></pre>
75 </notextile>