From 5510c8640464f08b8ed40a91a441e07d4c30bce7 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Fri, 9 Feb 2024 14:02:10 +0100 Subject: [PATCH] update readme --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cdc23591..6f071ae9 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,25 @@ The following packages are supported - [renterd](https://github.com/SiaFoundation/renterd) - [hostd](https://github.com/SiaFoundation/hostd) -Simply add this repo to your sources by running the following command +## Usage + +Simply add this repo to your sources by running the following command, replacing +`` and ``> with one of the following available distros and +their corresponding release. + +- `debian` + - `bookworm` + - `bullseye` + - `buster` +- `ubuntu` + - `focal` + - `jammy` + - `mantic` + - `noble` ```bash -sudo curl -fsSL https://linux.sia.tech/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/siafoundation.gpg -echo "deb [signed-by=/usr/share/keyrings/siafoundation.gpg] https://linux.sia.tech/debian stable main" | sudo tee -a /etc/apt/sources.list.d/siafoundation.list +sudo curl -fsSL https://linux.sia.tech//gpg | sudo gpg --dearmor -o /usr/share/keyrings/siafoundation.gpg +echo "deb [signed-by=/usr/share/keyrings/siafoundation.gpg] https://linux.sia.tech/ main" | sudo tee -a /etc/apt/sources.list.d/siafoundation.list ``` After that, you can install any of the available packages (e.g. `hostd`) like this: