21388: Improve diagnostics markup
[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 8
27 * RHEL 8
28 * Rocky Linux 8
29
30 To install them with dnf or yum, save this configuration block in @/etc/yum.repos.d/arvados.repo@:
31
32 <notextile>
33 <pre><code>[arvados]
34 name=Arvados
35 baseurl=http://rpm.arvados.org/CentOS/$releasever/os/$basearch/
36 gpgcheck=1
37 gpgkey=http://rpm.arvados.org/CentOS/RPM-GPG-KEY-arvados
38 </code></pre>
39 </notextile>
40
41 {% include 'gpg_key_fingerprint' %}
42
43 h3(#debian). Debian and Ubuntu
44
45 Packages are available for recent versions of Debian and Ubuntu.
46
47 First, register the Arvados signing key in apt's database:
48
49 {% include 'install_debian_key' %}
50
51 {% include 'gpg_key_fingerprint' %}
52
53 As root, add the Arvados package repository to your sources.  This command depends on your OS vendor and version:
54
55 table(table table-bordered table-condensed).
56 |_. OS version|_. Command|
57 |Debian 12 ("bookworm")|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/bookworm bookworm main" &#x7c; tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
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 |Ubuntu 22.04 ("jammy")[1]|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/jammy jammy 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
62 {% include 'notebox_begin' %}
63
64 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@.
65
66 {% include 'notebox_end' %}
67
68 Retrieve the package list:
69
70 <notextile>
71 <pre><code># <span class="userinput">apt-get update</span>
72 </code></pre>
73 </notextile>