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.
Before you start
Section titled “Before you start”sudo apt install ffmpegffmpeg 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.
1. Download
Section titled “1. Download”curl -fsSLO https://downloads.naelox.com/naelox/latest/naelox_linux_amd64Use 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.
2. Run it
Section titled “2. Run it”On a computer with a display:
chmod +x naelox_linux_amd64./naelox_linux_amd64It 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:
./naelox_linux_amd64 serve --headlessNaelox is running. Finish setup at: http://192.168.1.20:34200/setup?token=…./naelox_linux_amd64 setup-link prints the link again.
3. Finish setup in the browser
Section titled “3. Finish setup in the browser”Continue with Finish setup in the browser.
4. Keep it running
Section titled “4. Keep it running”sudo ./naelox_linux_amd64 service installThis 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.
Where things live
Section titled “Where things live”| 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 |