Skip to content

2. Install on Linux

This tutorial assumes a 64-bit Linux computer (x86-64 or arm64) that can see your media, with or without a display. Debian and Ubuntu are what we test on; anything with systemd works the same way.

Terminal window
sudo apt install ffmpeg

ffmpeg is what converts, previews and detects intros. Naelox runs without it, but those jobs wait until it is there. For OCR of image subtitles, also install tesseract-ocr.

Terminal window
curl -fsSLO https://downloads.naelox.com/naelox/latest/naelox_linux_amd64

Use naelox_linux_arm64 on a Raspberry Pi 4 or 5, or any other 64-bit ARM board. The download page has both files and their SHA-256 sums. Verify the download if you like.

On a computer with a display:

Terminal window
chmod +x naelox_linux_amd64
./naelox_linux_amd64

It opens your browser at a one-time setup link.

On a server with no display, run it headless. It listens on every interface and prints the setup link with the machine’s network addresses, so you can finish setup from another computer:

Terminal window
./naelox_linux_amd64 serve --headless
Naelox is running. Finish setup at:
http://192.168.1.20:34200/setup?token=…

./naelox_linux_amd64 setup-link prints the link again.

Continue with Finish setup in the browser.

Terminal window
sudo ./naelox_linux_amd64 service install

This writes /etc/systemd/system/naelox.service, which runs naelox serve --headless as the user who ran sudo, with that user’s data folder, so a library set up in the terminal carries over. Logs go to journalctl -u naelox. Without sudo it installs a user unit instead. See Run Naelox in the background.

What Where
Data, database, caches ~/.local/share/naelox (or $XDG_DATA_HOME/naelox); /var/lib/naelox when run as root
Web app http://<this computer>:34200
Logs (service) journalctl -u naelox