Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Update ubuntu install instructions, apt-key is deprecated
Browse files Browse the repository at this point in the history
apt-key is deprecated, also this instructions differs from
the similar section at `Getting Started` which already
contains up-to-date instructions.
  • Loading branch information
seut committed Feb 2, 2024
1 parent 70b6b87 commit 5cc14b7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/self-hosted/ubuntu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ CrateDB repositories:

.. code-block:: sh
# Download the CrateDB GPG key
sh$ wget https://cdn.crate.io/downloads/deb/DEB-GPG-KEY-crate
# Install prerequisites.
sudo apt update
sudo apt install --yes apt-transport-https apt-utils curl gnupg lsb-release
# Add the key to Apt
sh$ sudo apt-key add DEB-GPG-KEY-crate
# Import the public GPG key for verifying the package signatures.
curl -sS https://cdn.crate.io/downloads/deb/DEB-GPG-KEY-crate | sudo tee /etc/apt/trusted.gpg.d/cratedb.asc
# Add CrateDB repository to Apt
sh$ sudo add-apt-repository "deb https://cdn.crate.io/downloads/debian/stable/ default main"
# Add CrateDB repository to Apt
echo "deb https://cdn.crate.io/downloads/debian/stable/ default main" | sudo tee /etc/apt/sources.list.d/crate-stable.list
.. NOTE::
Expand Down

0 comments on commit 5cc14b7

Please sign in to comment.