Skip to content
Documentation

Install

Install the Synthaea agent beta on Linux (.deb, .apk), Windows and macOS: what each package contains, how to verify it and how to remove it.

Last updated

Beta builds are published as pre-releases on GitHub and listed on the download page. This page covers what exists for each platform today and marks what is still coming.

PlatformFormatStatus
Debian, Ubuntu (x86_64).debpublished in beta releases
Alpine (x86_64).apkpublished in beta releases
RHEL, Rocky, Fedora.rpmcoming: build from source today
Windows (x86_64)MSIcoming: build from source today; releases carry the bare agent.exe
macOS (Apple Silicon).pkgcoming: releases carry the bare agent binary

Beta builds are not code-signed. Check every download against the release's SHA256SUMS file before installing, and install on test machines only.

Verify a download

Download SHA256SUMS from the same release, next to the files, then:

sha256sum --check --ignore-missing SHA256SUMS

On macOS use shasum -a 256 -c SHA256SUMS; on Windows, Get-FileHash .\synthaea-agent-*.exe -Algorithm SHA256 and compare by eye. When a release also carries SHA256SUMS.asc, verify it with gpg --verify SHA256SUMS.asc SHA256SUMS after importing the key published with it.

Linux: Debian and Ubuntu (.deb)

The .deb holds static musl binaries, so one package runs on any x86_64 glibc distribution. CI installs it on Ubuntu 22.04 and Debian 12 and checks that the service starts and stays up.

sudo apt install ./synthaea-agent_*_amd64.deb
systemctl status synthaea-agent

What it installs:

  • /var/lib/synthaea/bootstrap/ with agent, watchdog and cli. The updater manages /var/lib/synthaea/current and versions/; the package never fights it.
  • /etc/synthaea/agent.toml, a working default (see Configuration).
  • /usr/bin/synthaea-ctl, the admin CLI, as a root-owned copy.
  • The synthaea-agent systemd unit and the synthaea service user.
  • Logs and alerts in /var/log/synthaea/ (alerts.ndjson holds the detections).

On a host without systemd (a container, for example) the package installs and explains that it did not start the service.

Remove it with sudo apt remove synthaea-agent (keeps data and logs) or sudo apt purge synthaea-agent (removes everything).

Linux: Alpine (.apk)

sudo apk add --allow-untrusted ./synthaea-agent-*.apk
sudo rc-update add synthaea-agent default
sudo rc-service synthaea-agent start

--allow-untrusted is needed because beta packages are signed only by a throwaway build key, not by a key you can trust. The layout matches the .deb; the service runs under OpenRC's supervise-daemon. Remove it with sudo apk del synthaea-agent.

Linux: RHEL, Rocky, Fedora (.rpm) — coming

An RPM spec with systemd integration and SELinux file contexts exists, but no release publishes an .rpm yet. To build one from source on a Fedora or RHEL host with rpm-build and a Rust toolchain:

git clone https://github.com/synthaea-lab/agent && cd agent/packaging/linux
./build-rpm.sh
sudo dnf install ../output/synthaea-agent-*.rpm

Windows — MSI coming

Beta releases carry synthaea-agent-<version>-windows-x86_64.exe: the agent alone, statically linked with ONNX Runtime. It is not an installer: it registers no service and has no watchdog. Use it to try the agent from an elevated prompt with a configuration file at C:\ProgramData\Synthaea\agent.toml (see Configuration):

.\synthaea-agent-<version>-windows-x86_64.exe status
.\synthaea-agent-<version>-windows-x86_64.exe run

The MSI (WiX v3) installs the agent and watchdog under Program Files\Synthaea and registers the SynthaEDR service. It has been build-tested end to end on Windows 11 but is not produced by CI yet. To build it yourself, follow packaging/windows: build the binaries without default features (that is what keeps the public test signing key out) and run build.ps1.

Some Windows event log channels must be enabled by your deployment for full coverage, notably Microsoft-Windows-TaskScheduler/Operational:

wevtutil sl "Microsoft-Windows-TaskScheduler/Operational" /e:true

macOS — .pkg coming

Beta releases carry synthaea-agent-<version>-macos-arm64.tar.gz, the agent binary alone, not notarized. The EndpointSecurity sensors need an Apple entitlement that has been requested but not granted, so on a normal, SIP-enabled Mac they cannot attach yet. Treat the macOS build as a developer preview for lab machines. The planned layout (an app bundle hosting the system extension, a launchd daemon, MDM profiles for pre-approval) is documented in packaging/macos.

tar -xzf synthaea-agent-*-macos-arm64.tar.gz
./agent --help

Build from source

Every platform builds from the agent repository with the pinned Rust toolchain:

git clone https://github.com/synthaea-lab/agent && cd agent
cargo build --release -p agent -p watchdog -p cli

A plain build like this one includes the public test signing key and is for development only. Packaged builds use --no-default-features; see each platform's packaging README. The eBPF probes need the toolchain in toolchain/.