Introduction

While Data Center Software is officially supported on major Linux LTS distributions such as Ubuntu LTS and Debian, some users may prefer to run it on alternative Linux distributions such as NixOS.

Because NixOS uses a unique package management and library structure, standard Linux binaries may not run out-of-the-box. This article outlines a community-tested method for successfully running Data Center Software on NixOS using nix-ld.

Overview

NixOS does not use the traditional Linux filesystem layout expected by many precompiled applications. As a result, some dynamically linked binaries may fail to launch or may be missing runtime libraries.

To resolve this, NixOS provides nix-ld, an alternative dynamic loader that allows externally compiled binaries to locate required shared libraries.

Using nix-ld with the proper package set allows Data Center Software to run successfully, including hardware communication and packet capture with supported analyzers.

Requirements

  • • NixOS system
  • • Administrative access to edit system configuration
  • • Data Center Software installed
  • • nix-ld enabled

Recommended Configuration (Lean Dependency Set)

Add the following to your NixOS configuration file:

{ pkgs, ... }: {

  programs.nix-ld.enable = true; 

  programs.nix-ld.libraries = with pkgs; [

    bzip2

    cairo

    dbus

    expat

    fontconfig

    freetype

    gdk-pixbuf

    glib

    gnome2.GConf

    gtk2

    libxcomposite

    libxrandr

    libxext

    libx11

    libxfixes

    libxcb

    libxinerama

    libxcursor

    libxrender

    libxi

    libsm

    libice

    libjpeg

    libpng

    orc

    pixman

    pango

  ];

}

After saving the file, rebuild your system:

sudo nixos-rebuild switch

Launching Data Center Software

After rebuilding:

  1. Install or extract Data Center Software normally.
  2. Launch the application binary.
  3. Connect your supported analyzer.
  4. Verify packet capture functionality.

Users have reported successful operation with Beagle USB analyzers, including live packet capture.

Alternative Option: Larger Compatibility Package Set

A broader package list may improve compatibility with future Data Center releases or systems with different desktop environments. However, the lean package set above is recommended when possible.

Troubleshooting

Application Does Not Launch

Verify that programs.nix-ld.enable = true; is present and the system has been rebuilt.

Missing Libraries

Use tools such as:

strace ./datacenter

This can help identify additional runtime libraries requested during execution.

GUI Issues

Ensure GTK2 and X11-related packages are included in the nix-ld library list.

Additional Notes

Running ldd on the Data Center binary may not reveal all required dependencies, as some libraries are loaded later during runtime. Using strace can provide more complete results.