From 229e9431832f1bf6951797507e7d02595ad18355 Mon Sep 17 00:00:00 2001 From: Felix Walter Date: Mon, 1 Sep 2025 12:04:47 +0200 Subject: [PATCH] README: Add package names for common distros and what Nix is Closes: #259 Signed-off-by: Felix Walter --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 5083a9a..2ee2a82 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,21 @@ The build process and runtime options of µD3TN are outlined on a dedicated [**d **Dependencies:** +- Git - GNU `make`, `gcc`, `binutils` - the `sqlite` and `jansson` development packages +Examples for common distributions: + +```sh +# Debian / Ubuntu +[sudo] apt install git build-essential libsqlite3-dev libjansson-dev +# Fedora +[sudo] dnf install git make gcc sqlite-devel jansson-devel +# Arch Linux / Manjaro +[sudo] pacman -Sy git base-devel sqlite jansson +``` + **Obtain the code:** ```sh @@ -67,6 +79,9 @@ make posix type=release optimize=yes **Build with [Nix](https://nixos.wiki/wiki/Nix_package_manager):** +Alternatively to installing everything manually, **Nix** can be used, which automatically takes care +of providing the correct (pinned) dependencies and a working development environment. + ```sh nix --experimental-features 'nix-command flakes' build '.?submodules=1#ud3tn' ```