RHEL / Fedora / CentOS¶
Install Trident on Fedora, RHEL, CentOS Stream, Rocky Linux, AlmaLinux, openSUSE, Oracle Linux, and Amazon Linux using DNF, YUM, or Zypper.
Tested Distributions
This installation method is tested end-to-end on Fedora 41, Rocky Linux 9, CentOS Stream 9, AlmaLinux 9, and openSUSE Leap 15.6 using automated integration tests that verify binaries, configuration, systemd service, caching behavior, and graceful shutdown.
Automatic Setup¶
The repository setup script handles everything:
Then install:
Manual Setup¶
DNF / YUM Distributions¶
Fedora, RHEL, CentOS Stream, Rocky Linux, AlmaLinux, Oracle Linux, and Amazon Linux.
1. Import the GPG signing key¶
2. Add the repository¶
Create /etc/yum.repos.d/trident.repo:
[trident]
name=Trident Cache Proxy
baseurl=https://pkg.trident-cache.com/rpm/$basearch
enabled=1
gpgcheck=1
gpgkey=https://pkg.trident-cache.com/gpg.key
3. Install¶
openSUSE / SLES¶
1. Import the GPG signing key¶
2. Add the repository¶
3. Install¶
What Gets Installed¶
The package installs and configures the following:
| Component | Path |
|---|---|
| Main binary | /usr/bin/trident |
| CLI tool | /usr/bin/trident-cli |
| Default config | /etc/trident/config.toml |
| Systemd service | /usr/lib/systemd/system/trident.service |
| Cache directory | /var/lib/trident/ (owned by trident:trident) |
| Log directory | /var/log/trident/ (owned by trident:trident) |
A trident system user and group are created automatically by the package's preinstall script.
Verify Installation¶
Check that the systemd service file is in place:
Next Steps¶
- Configuration — edit
/etc/trident/config.toml - Service Management — start and enable the systemd service