Skip to main content

Install xng

Releases are on GitHub, each with a SHA256SUMS file to check downloads against.

Debian, Ubuntu, Raspberry Pi OS​

The .deb packages pull in the runtime libraries (SoapySDR and its RTL-SDR module, Airspy). Pick the one for your CPU: amd64, arm64 (64-bit Pi OS, Pi 3 and newer), or armhf (32-bit Pi OS, Pi 2 and newer).

wget https://github.com/airframesio/xng/releases/download/v0.35.0/xng-0.35.0-arm64.deb
sudo apt install ./xng-0.35.0-arm64.deb
xng --version

The Linux builds run on Ubuntu 22.04+, Debian 12+ and Pi OS Bookworm. The armhf build has no local speech-to-text for airband (use a Whisper server with --whisper-url).

Tarballs (xng-v0.35.0-x86_64-unknown-linux-gnu.tar.gz and others) hold just the binary: copy it to /usr/local/bin and install libsoapysdr (plus soapysdr-module-rtlsdr, libairspy, libairspyhf as needed) yourself.

macOS (Apple Silicon)​

brew install soapysdr soapyrtlsdr airspy airspyhf
tar xzf xng-v0.35.0-aarch64-apple-darwin.tar.gz
sudo cp xng-v0.35.0-aarch64-apple-darwin/xng /usr/local/bin/

Windows​

Unzip the x86_64-pc-windows-msvc release. To use a radio, install PothosSDR, which provides SoapySDR with RTL-SDR, Airspy, HackRF and SDRplay modules; an RTL-SDR also needs the WinUSB driver (install it with Zadig). Without PothosSDR, xng.exe still runs and decodes recordings.

Docker​

Multi-arch images (amd64, arm64, armv7) are published for every release:

docker run --rm ghcr.io/airframesio/xng:latest --version

Pass the USB bus to the container for radios (--device /dev/bus/usb) and mount your station file. The amd64 and arm64 images include local airband transcription; keep downloaded models with -v xng-models:/var/cache/xng.

Check it​

xng devices # lists the SDRs xng can open
xng selftest # runs the whole pipeline on built-in signals

On Linux, an RTL-SDR that xng devices can't open is usually held by the TV tuner driver: blacklist dvb_usb_rtl28xxu and replug it. The installer's fix command does this for you.

Updating​

Install the new .deb over the old one, or let the installer do it (update, or weekly with auto-update on). Airwaves OS updates xng from its app catalog.