RHEL / Fedora / CentOS¶
RPM-family installation instructions for DNF/YUM and openSUSE's Zypper. Current verification recipes name Fedora, Rocky, CentOS, AlmaLinux and openSUSE; other derivatives and exact versions need their own compatibility evidence.
Source instructions and release qualification
These instructions reflect the checked-in 1.8.0 package/service sources. Existing CI recipes and historical rehearsals are not proof that a particular published package, repository signature or installed host has passed current qualification. Select and verify the exact released version, architecture, SKU and installed binary; 1.8.0 publication and full package lifecycle evidence remain separate release gates.
Repository setup¶
Download and inspect the setup script before executing it with administrator privileges. Verify the approved revision and signing-key fingerprint through your release trust process; downloading over HTTPS is not independent signature qualification.
curl -fsSL https://pkg.trident-cache.com/setup -o trident-repo-setup.sh
# Review this file and verify the approved source before the next command.
sudo sh ./trident-repo-setup.sh
The script changes repository configuration and refreshes package metadata. It does not validate a candidate configuration or qualify the subsequent installation.
Repository trust policy¶
The reviewed 1.8.0 setup source imports https://pkg.trident-cache.com/gpg and requires both repository metadata verification (repo_gpgcheck=1) and per-RPM signature verification (gpgcheck=1). Normal installation does not disable either check. Compare the approved key fingerprint and verify the selected repository, package checksums and intended version before installation. These source requirements do not prove that the public setup endpoint serves this exact revision or that a particular 1.8.0 package has been published.
A manual entry matching that source policy is:
[trident]
name=Trident Cache Proxy
baseurl=https://pkg.trident-cache.com/rpm/$basearch/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://pkg.trident-cache.com/gpg
Unsigned or wrong-key packages must be refused under this normal policy. Metadata verification and package-signature verification are distinct; retain both. The source package-upgrade procedure describes the separately reviewed, pinned exception for a legacy unsigned rollback. That exception is not the normal installation procedure.
After reviewing/importing the approved key and repository definition, choose the actual platform's package manager:
curl -fsSL https://pkg.trident-cache.com/gpg -o trident-release-key.asc
# Inspect this key and compare its approved fingerprint before importing:
gpg --show-keys --fingerprint trident-release-key.asc
sudo rpm --import ./trident-release-key.asc
sudo dnf makecache
sudo dnf install trident
YUM and Microdnf deployments use their corresponding refresh/install commands. For openSUSE, add the architecture-specific source URL, preserving repository metadata verification:
Review the resulting repository policy before installation: require signed RPM payloads and authenticated repository metadata, consistent with the reviewed setup source. Unsigned artifacts must be refused. Use the actual supported architecture, not x86_64 on ARM64. No signing or installation result is created by these instructions.
Installed paths and active configuration¶
| Component | Core package path |
|---|---|
| Daemon / tools | /usr/bin/trident, /usr/bin/trident-cli, /usr/bin/trident-snap |
| Configuration files | /etc/trident/config.toml and /etc/trident/config.json |
| Selected service configuration | TRIDENT_CONFIG in /etc/default/trident; fresh package default is /etc/trident/config.toml |
| systemd service / socket files | /usr/lib/systemd/system/trident.service, /usr/lib/systemd/system/trident.socket |
| State / logs | /var/lib/trident, /var/log/trident, owned by trident:trident |
The package creates the trident system user/group. Configuration and default-environment files are marked to preserve operator edits; inspect any package-manager replacement/default files during upgrades. Editing JSON does not change a service still selecting TOML. File extensions select the parser: JSON content belongs in .json, TOML in .toml.
A fresh systemd package install enables the service without starting it. Configure the actual backend/served Host allowlist, secrets and licence first. Validate with the candidate binary and the same user, environment and file access as the service, then follow Service Management. An intentionally stopped service should not be resurrected by an upgrade.
Verify the selected installation¶
/usr/bin/trident --version
/usr/bin/trident-cli --version
systemctl cat trident
systemctl show trident -p ExecStart -p User -p EnvironmentFiles
Do not paste environment files, tokens or licence contents into reports. The package config binds the proxy to port 8120 and admin to loopback port 6085; the in-code admin default is 9000. Target the address in the selected configuration, not a guessed default. Confirm exact installed-byte identity and complete MISS/HIT/private/purge bodies separately; a version string or active unit is insufficient.
Upgrade and rollback¶
Before any package-manager upgrade, retain the previous package and operator configuration, stage the exact candidate, verify its checksum and extracted binary, and run its --check against the active configuration with the required service environment and readable secrets/licence. Never use the old installed binary as the candidate preflight.
The first 1.7 → 1.8 hop is exceptional: the old package hook can stop the daemon before the new hook validates it. Refusal can leave the node down; this is not a zero-downtime procedure. Drain traffic as appropriate and retain a tested recovery path. On systemd, the source checked-upgrade procedure validates the exact staged package/binary pair before invoking the package manager. It requires Python 3.10+, correct tool dependencies and a new private evidence directory; it performs no automatic rollback and does not recreate the full service sandbox/environment.
An RPM %posttrans refusal can leave the service down even when the package manager exits zero. Inspect diagnostics, process identity and readiness. For Debian, a refused legacy hop may require correcting configuration and completing dpkg --configure -a. Do not treat package-manager success alone as service success.
Every 1.8 start and a rollback start is cold: do not expect old snapshots to restore cached entries. Roll back the reviewed package and compatible configuration, then verify process identity, readiness and exact bodies before returning traffic. See the source upgrade guide.