// PART 01
Choose an install path
Four supported install paths exist. Choose by where the product will run and who will use it; the underlying server stack is the same.
The paths
| Path | Product file | Use when | Built with |
|---|---|---|---|
| Cloud/server | .product (edition cloud) |
A shared server serving many users and bots | default features |
| Desktop-local | .product.desktop-local (edition os) |
A single machine with the full desktop shell (Tauri app or kiosk) | --features desktop-local |
| GB Lite | .product.gblite (edition desktop, assistant shell) |
The Chat + Drive government desktop on Windows | --features gblite |
| General Bots OS image | desktop/os/ (Debian 13, mkosi) |
An appliance where the kiosk shell is the only interface | image build |
Step 1 — check the host
--check does not require root and does not install anything. It prints every
missing command, shared library, group and package, then exits non-zero:
./PROD-DEPENDENCIES.sh --check
Install what it names:
sudo ./PROD-DEPENDENCIES.sh --install
The install path is idempotent and resolves release-specific package renames
(Debian/Ubuntu libssl3t64, libgtk-3-0t64, libzbar0t64, versioned
libclang1-NN). DEPENDENCIES.sh holds the package matrix;
PROD-DEPENDENCIES.sh is the supported entry point, and
DEV-DEPENDENCIES.sh adds the build toolchain on top of the same runtime set.
The scripts live at the repository root.
Runtime matrix
| Category | What is required | Required by |
|---|---|---|
| PostgreSQL client | libpq (libpq.so.5) |
database access |
| TLS | OpenSSL (libssl.so.3) |
HTTPS, JWT |
| Compression | liblzma, zlib | archives, HTTP |
| Clang runtime | libclang | native service components |
poppler (pdftotext, libpoppler.so) |
document extraction | |
| Media | zbar (libzbar.so.0) |
BotModels barcode/QR decoding |
| Containers | incus and the incus-admin group |
agent VMs, terminals, browser actions |
| Desktop shell | GTK3, WebKitGTK 4.1, libsoup3, librsvg, appindicator | desktop/tauri bundle |
| Fonts | fontconfig, DejaVu and Liberation fonts | UI rendering |
| Base tools | ca-certificates, curl, wget |
bootstrap downloads |
The matrix is implemented for Debian/Ubuntu (apt), Fedora/RHEL (dnf), Arch
(pacman) and Alpine (apk). Package names differ by release; --check prints
the exact names for the host instead of duplicating a list here.
Windows and macOS
The Linux matrix does not apply to the desktop bundles: on Windows run
.\PROD-DEPENDENCIES.ps1 -Check (WebView2, VC++ 2015-2022 x64 runtime,
libpq.dll, the WSL2/Incus agent backend); on macOS the same script reports
the dmg/CI state and the agent backend.
Step 2 — pick the mode
- Local mode (default): the installer runs every component as a host process under
botserver-stack/. Simplest to debug; the reference deployment. - Container mode (
--container): each component becomes an Incus instance{tenant}-{component}. Isolation per service; container commands run on the host only.