docs token | thin slice | Composer 2
Context
Data Boar is tested against: Ubuntu, Debian, Alma Linux, Fedora, OpenSUSE, Oracle Linux, and Void Linux (xbps). The current TROUBLESHOOTING.md covers Docker + connectivity + credentials well, but has no section for install-time failures on non-Debian distros.
This is especially relevant because:
mariadb PyPI connector requires libmariadb-dev (Debian/Ubuntu: apt) but different names on other distros
- Void Linux uses
xbps-install (not apt, dnf, or zypper) and package names differ
- MySQL/MariaDB library availability varies across distros (confirmed intentional multi-driver approach in pyproject.toml)
- Completão/Maestro runs scans on heterogeneous lab nodes
What to add
Add a new section to docs/TROUBLESHOOTING.md (after Docker section):
## Install-time failures on non-Debian Linux distributions
Data Boar targets multiple Linux distributions. System library requirements differ by distro.
### Required system libraries (distro map)
| Library purpose | Debian/Ubuntu | Fedora/Alma/RHEL/Oracle | OpenSUSE | Void Linux |
|---|---|---|---|---|
| PostgreSQL client | `libpq-dev` | `postgresql-devel` | `postgresql-devel` | `postgresql-libs` |
| MariaDB/MySQL client | `default-libmysqlclient-dev` | `mariadb-devel` | `mariadb-devel` | `libmariadbclient` |
| ODBC | `unixodbc-dev` | `unixODBC-devel` | `unixODBC-devel` | `unixodbc-devel` |
| SSL/TLS | `libssl-dev` | `openssl-devel` | `libopenssl-devel` | `openssl-devel` |
### Void Linux (xbps)
```bash
sudo xbps-install -S postgresql-libs libmariadbclient unixodbc-devel openssl-devel pkg-config
uv sync
Fedora / Alma / RHEL / Oracle Linux (dnf)
sudo dnf install -y postgresql-devel mariadb-devel unixODBC-devel openssl-devel pkg-config gcc
uv sync
OpenSUSE (zypper)
sudo zypper install -y postgresql-devel mariadb-devel unixODBC-devel libopenssl-devel pkg-config gcc
uv sync
If uv sync fails with a compilation error, check the error for the missing library name and install the corresponding -devel package.
Also add a row to the "Deep-dive documentation" table:
```markdown
| **Multi-distro install** | System library requirements for non-Debian distros (Void, Fedora, Alma, OpenSUSE, Oracle Linux) | (this section, above) | — |
Ritual
- Verify package names on Void Linux against
xbps-query -Rs mariadb output (lab node)
- Add section to
TROUBLESHOOTING.md (EN) and TROUBLESHOOTING.pt_BR.md (pt-BR)
- Gate:
.\scripts\lint-only.ps1
- Commit:
docs(troubleshooting): add multi-distro install troubleshooting section
Out of scope
Do not change any Python code or pyproject.toml. Documentation only.
docs token | thin slice | Composer 2
Context
Data Boar is tested against: Ubuntu, Debian, Alma Linux, Fedora, OpenSUSE, Oracle Linux, and Void Linux (xbps). The current
TROUBLESHOOTING.mdcovers Docker + connectivity + credentials well, but has no section for install-time failures on non-Debian distros.This is especially relevant because:
mariadbPyPI connector requireslibmariadb-dev(Debian/Ubuntu:apt) but different names on other distrosxbps-install(notapt,dnf, orzypper) and package names differWhat to add
Add a new section to
docs/TROUBLESHOOTING.md(after Docker section):Fedora / Alma / RHEL / Oracle Linux (dnf)
OpenSUSE (zypper)
If
uv syncfails with a compilation error, check the error for the missing library name and install the corresponding-develpackage.Ritual
xbps-query -Rs mariadboutput (lab node)TROUBLESHOOTING.md(EN) andTROUBLESHOOTING.pt_BR.md(pt-BR).\scripts\lint-only.ps1docs(troubleshooting): add multi-distro install troubleshooting sectionOut of scope
Do not change any Python code or pyproject.toml. Documentation only.