mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-13 12:33:27 +02:00
README: Add package names for common distros and what Nix is
Closes: #259 Signed-off-by: Felix Walter <felix.walter@d3tn.com>
This commit is contained in:
parent
1a54a3cd19
commit
229e943183
1 changed files with 15 additions and 0 deletions
15
README.md
15
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'
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue