h2(#cuda). Install NVIDA CUDA Toolkit (optional)
-If you want to use NVIDIA GPUs, "install the CUDA toolkit.":https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
-
-In addition, you also must install the NVIDIA Container Toolkit:
-
-<pre>
-DIST=$(. /etc/os-release; echo $ID$VERSION_ID)
-curl -s -L https://nvidia.github.io/libnvidia-container/gpgkey | \
- sudo apt-key add -
-curl -s -L https://nvidia.github.io/libnvidia-container/$DIST/libnvidia-container.list | \
- sudo tee /etc/apt/sources.list.d/libnvidia-container.list
-sudo apt-get update
-apt-get install libnvidia-container1 libnvidia-container-tools nvidia-container-toolkit
-</pre>
+If you want to use NVIDIA GPUs, "install the CUDA toolkit":https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html and the "NVIDIA Container Toolkit":https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html.
{% endcomment %}
<notextile>
-<pre><code># <span class="userinput">apt-get --no-install-recommends install curl gnupg2 ca-certificates</span>
-# <span class="userinput">curl https://apt.arvados.org/pubkey.gpg -o /etc/apt/trusted.gpg.d/arvados.asc</span>
+<pre><code># <span class="userinput">install -d /etc/apt/keyrings</span>
+# <span class="userinput">curl -fsSL -o /etc/apt/keyrings/arvados.asc https://apt.arvados.org/pubkey.gpg</span>
</code></pre>
</notextile>
-
-The Arvados package signing GPG key is also available via the keyservers, though they can be unreliable. To retrieve the signing key via keyserver.ubuntu.com:
-
-<notextile>
-<pre><code># <span class="userinput">/usr/bin/apt-key adv --keyserver keyserver.ubuntu.com --recv 1078ECD7</code></pre>
-</notextile>
h3. Debian and Ubuntu
<notextile>
-<pre><code># <span class="userinput">apt-get install {{packages_to_install | join " "}}</span>
+<pre><code># <span class="userinput">apt install {{packages_to_install | join " "}}</span>
</code></pre>
</notextile>
All supported versions of Debian and Ubuntu include a version of Ruby you can use with Arvados.
<notextile>
-<pre><code># <span class="userinput">apt-get --no-install-recommends install ruby ruby-dev</span></code></pre>
+<pre><code># <span class="userinput">apt --no-install-recommends install ruby ruby-dev</span></code></pre>
</notextile>
# Update compute nodes
## (cloud) Rebuild and deploy the "compute node image":{{site.baseurl}}/install/crunch2-cloud/install-compute-node.html
## (slurm/LSF) Upgrade the @python3-arvados-fuse@ package used on your compute nodes
-# Install new packages using @apt-get upgrade@ or @yum upgrade@.
+# Install new packages using @apt upgrade@ or @yum upgrade@.
# Wait for package installation scripts as they perform any necessary data migrations.
# Run @arvados-server config-check@ to detect configuration errors or deprecated entries.
# Verify that the Arvados services were restarted as part of the package upgrades.
All supported versions of Debian and Ubuntu include a version of PostgreSQL you can use with Arvados.
# Install PostgreSQL
-<notextile><pre># <span class="userinput">apt-get --no-install-recommends install postgresql postgresql-contrib</span></pre></notextile>
+<notextile><pre># <span class="userinput">apt --no-install-recommends install postgresql postgresql-contrib</span></pre></notextile>
# Configure PostgreSQL to accept password connections from the local network (replace @10.9.8.0/24@ with your private network mask)
<notextile><pre># <span class="userinput">echo 'host all all 10.9.8.0/24 md5' | tee -a /etc/postgresql/*/main/pg_hba.conf</span></pre></notextile>
# Configure the database to launch at boot and start now
h3. Debian and Ubuntu
<notextile>
-<pre><code># <span class="userinput">apt-get --no-install-recommends install nginx</span></code></pre>
+<pre><code># <span class="userinput">apt --no-install-recommends install nginx</span></code></pre>
</notextile>
{% include 'gpg_key_fingerprint' %}
-As root, add the Arvados package repository to your sources. This command depends on your OS vendor and version:
+Then set up the package source by running this command:
-table(table table-bordered table-condensed).
-|_. OS version|_. Command|
-|Debian 12 ("bookworm")|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/bookworm bookworm main" | tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
-|Debian 11 ("bullseye")|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/bullseye bullseye main" | tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
-|Ubuntu 22.04 ("jammy")[1]|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/jammy jammy main" | tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
-|Ubuntu 20.04 ("focal")[1]|<notextile><code><span class="userinput">echo "deb http://apt.arvados.org/focal focal main" | tee /etc/apt/sources.list.d/arvados.list</span></code></notextile>|
+<notextile>
+<pre><code># <span class="userinput">tee /etc/apt/sources.list.d/arvados.sources >/dev/null <<EOF
+Types: deb
+URIs: https://apt.arvados.org/$(lsb_release -cs)
+Suites: $(lsb_release -cs)
+Components: main
+Signed-by: /etc/apt/keyrings/arvados.asc
+EOF
+</span></code></pre>
+</notextile>
{% include 'notebox_begin' %}
Retrieve the package list:
<notextile>
-<pre><code># <span class="userinput">apt-get update</span>
+<pre><code># <span class="userinput">apt update</span>
</code></pre>
</notextile>
When everything has finished, you can run the diagnostics. This requires the `arvados-client` package:
<pre>
-apt-get install arvados-client
+apt install arvados-client
</pre>
Depending on where you are running the installer, you need to provide @-internal-client@ or @-external-client@.
# "Install Ruby":../../install/ruby.html
# "Install the Python SDK":../python/sdk-python.html
-The SDK uses @curl@ which depends on the @libcurl@ C library. To build the module you may have to install additional packages. On Debian 10 this is:
+The SDK uses @curl@ which depends on the @libcurl@ C library. To build the module you may have to install additional packages. On supported versions of Debian and Ubuntu, run:
-<pre>
-$ apt-get install build-essential libcurl4-openssl-dev
-</pre>
+<notextile>
+<pre><code>
+# <span class="userinput">apt install build-essential libcurl4-openssl-dev
+</code></pre>
+</notextile>
h2. Install from RubyGems
# "Install Ruby":../../install/ruby.html
-The SDK uses @curl@ which depends on the @libcurl@ C library. To build the module you may have to install additional packages. On Debian 10 this is:
+The SDK uses @curl@ which depends on the @libcurl@ C library. To build the module you may have to install additional packages. On supported versions of Debian and Ubuntu, run:
-<pre>
-$ apt-get install build-essential libcurl4-openssl-dev
-</pre>
+<notextile>
+<pre><code>
+# <span class="userinput">apt install build-essential libcurl4-openssl-dev
+</code></pre>
+</notextile>
h3. Install with RubyGems