21572: Make package repository sections consistent across each other
[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 * "Red Hat, AlmaLinux, 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). Red Hat, AlmaLinux, and Rocky Linux
22
23 Packages are available for the following Red Hat-based distributions:
24
25 * AlmaLinux 8
26 * RHEL 8
27 * Rocky Linux 8
28
29 Set up the Arvados package repository by running these commands:
30
31 <notextile>
32 <pre><code># <span class="userinput">tee /etc/yum.repos.d/arvados.repo &gt;/dev/null &lt;&lt;'EOF'
33 [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 EOF
39 </span></code></pre>
40 </notextile>
41
42 h3(#debian). Debian and Ubuntu
43
44 Packages are available for the following Debian-based distributions:
45
46 * Debian 12 ("bookworm")
47 * Debian 11 ("bullseye")
48 * Ubuntu 22.04 ("jammy")
49 * Ubuntu 20.04 ("focal")
50
51 {% include 'notebox_begin' %}
52
53 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@.
54
55 {% include 'notebox_end' %}
56
57 Set up the Arvados package repository by running these commands:
58
59 <notextile>
60 <pre><code># <span class="userinput">install -d /etc/apt/keyrings</span>
61 # <span class="userinput">curl -fsSL -o /etc/apt/keyrings/arvados.asc https://apt.arvados.org/pubkey.gpg</span>
62 # <span class="userinput">tee /etc/apt/sources.list.d/arvados.sources &gt;/dev/null &lt;&lt;EOF
63 Types: deb
64 URIs: https://apt.arvados.org/$(lsb_release -cs)
65 Suites: $(lsb_release -cs)
66 Components: main
67 Signed-by: /etc/apt/keyrings/arvados.asc
68 EOF</span>
69 # <span class="userinput">apt update</span>
70 </code></pre>
71 </notextile>