18113: Merge branch 'main' into 18113-change-cloudops-defaults
[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 * "Centos 7":#centos7
15 * "Debian and Ubuntu":#debian
16
17 h3(#centos7). CentOS
18
19 Packages are available for CentOS 7. To install them with yum, save this configuration block in @/etc/yum.repos.d/arvados.repo@:
20
21 <notextile>
22 <pre><code>[arvados]
23 name=Arvados
24 baseurl=http://rpm.arvados.org/CentOS/$releasever/os/$basearch/
25 gpgcheck=1
26 gpgkey=http://rpm.arvados.org/CentOS/RPM-GPG-KEY-arvados
27 </code></pre>
28 </notextile>
29
30 {% include 'gpg_key_fingerprint' %}
31
32 h3(#debian). Debian and Ubuntu
33
34 Packages are available for recent versions of Debian and Ubuntu.
35
36 First, register the Arvados signing key in apt's database:
37
38 {% include 'install_debian_key' %}
39
40 {% include 'gpg_key_fingerprint' %}
41
42 As root, add the Arvados package repository to your sources.  This command depends on your OS vendor and version:
43
44 table(table table-bordered table-condensed).
45 |_. OS version|_. Command|
46 |Debian 11 ("bullseye")|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/buster bullseye main" &#x7c; tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
47 |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>|
48 |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>|
49 |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>|
50
51
52 {% include 'notebox_begin' %}
53
54 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@.
55
56 {% include 'notebox_end' %}
57
58 Retrieve the package list:
59
60 <notextile>
61 <pre><code># <span class="userinput">apt-get update</span>
62 </code></pre>
63 </notextile>