Debian, Ubuntu, Fedora, RHEL and Rocky Linux¶
Every release carries a .deb (Debian, Ubuntu) and an .rpm (Fedora, RHEL, Rocky Linux,
AlmaLinux) for amd64/x86_64 and arm64/aarch64. They install the server in /usr/lib/ninlil/,
a ninlil systemd service that runs as an unprivileged ninlil user, all state in
/var/lib/ninlil and the settings in /etc/ninlil/ninlil.env. Installing never starts the service.
Before you start¶
- A host with
sudo,curlandsha256sum.uname -mprintsx86_64oraarch64. - Port 53 free (Installation).
Steps¶
-
Open the releases page, pick a release and copy the link of the package for your distribution and CPU. The file names are:
Distribution CPU File Debian, Ubuntu x86-64 ninlil-<version>-amd64.debDebian, Ubuntu ARM64 ninlil-<version>-arm64.debFedora, RHEL, Rocky Linux, AlmaLinux x86-64 ninlil-<version>-1.x86_64.rpmFedora, RHEL, Rocky Linux, AlmaLinux ARM64 ninlil-<version>-1.aarch64.rpm<version>is the date version, such as2026.10.09.1(Find the release tag). 2. Download the package and the checksum list, then check the download. Replace<tag>with the release's tag,<version>with its date version and the file name with yours:curl -LO https://git.lantea.one/lantea-one/ninlil/releases/download/<tag>/ninlil-<version>-amd64.deb curl -LO https://git.lantea.one/lantea-one/ninlil/releases/download/<tag>/SHA256SUMS sha256sum --check --ignore-missing SHA256SUMSThe last command must print
OKfor your file. The packages are not signed: the checksums are your check that the file is the one the pipeline built. 3. Install it. The./in front of the file name is required: it tells the package manager to use the local file.sudo apt install ./ninlil-<version>-amd64.deb # Debian, Ubuntu sudo dnf install ./ninlil-<version>-1.x86_64.rpm # Fedora, RHEL, Rocky Linux, AlmaLinux -
Start it now and at every boot, then read the log for the one-time administrator password:
sudo systemctl enable --now ninlil sudo journalctl -u ninlilOpen
http://<this host>/and sign in asadmin. To choose the password yourself, setNINLIL_IDENTITY_BOOTSTRAP_ADMINISTRATOR_PASSWORDin/etc/ninlil/ninlil.envbefore the first start. That file takes everyNINLIL_*setting in the environment variables. Runsudo systemctl restart ninlilafter you edit it.
Check that it worked¶
sudo systemctl is-active ninlil
curl http://localhost/status
active
{"status":"Healthy","components":null}
Day to day¶
- Upgrade: install the newer package the same way, then
sudo systemctl restart ninlil. Your edits to/etc/ninlil/ninlil.envand everything in/var/lib/ninlilstay. - Remove:
sudo apt remove ninlilorsudo dnf remove ninlilstops the service and removes the program. It keeps/var/lib/ninliland theninliluser. Your edited settings stay as/etc/ninlil/ninlil.envon Debian and Ubuntu, and are saved as/etc/ninlil/ninlil.env.rpmsaveon Fedora and RHEL. - Remove everything: after
sudo apt purge ninlilordnf remove, delete the data withsudo rm -r /var/lib/ninliland the user withsudo userdel ninlil. The package never deletes your data.
DNS-over-QUIC needs libmsquic 2.4.20 or later. The package suggests it and does not install it.
The README explains why under
Debian, Ubuntu, Fedora, RHEL and Rocky Linux.