2 min readMar 29, 2026by jakub

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:

Bash
curl -sSL https://pkg.trident-cache.com/setup | sudo sh

Then install:

DNF (Fedora / RHEL 8+)

Bash
sudo dnf install trident

Microdnf (Rocky / Alma minimal)

Bash
sudo microdnf install trident

YUM (CentOS 7 / older)

Bash
sudo yum install trident

Zypper (openSUSE)

Bash
sudo zypper install trident

Manual Setup

DNF / YUM Distributions

Fedora, RHEL, CentOS Stream, Rocky Linux, AlmaLinux, Oracle Linux, and Amazon Linux.

1. Import the GPG signing key

Bash
sudo rpm --import https://pkg.trident-cache.com/gpg.key

2. Add the repository

Create /etc/yum.repos.d/trident.repo:

INI
[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

DNF

Bash
sudo dnf install trident

Microdnf (minimal images)

Bash
sudo microdnf install trident

YUM

Bash
sudo yum makecache
sudo yum install trident

openSUSE / SLES

1. Import the GPG signing key

Bash
sudo rpm --import https://pkg.trident-cache.com/gpg.key

2. Add the repository

Bash
sudo zypper addrepo --gpgcheck --refresh \
  https://pkg.trident-cache.com/rpm/x86_64 trident

3. Install

Bash
sudo zypper install trident

What Gets Installed

The package installs and configures the following:

ComponentPath
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

Bash
trident --version
trident-cli --version

Check that the systemd service file is in place:

Bash
systemctl cat trident

Next Steps

Was this page helpful?
RHEL / Fedora / CentOS — Installation — Trident HTTP Cache Proxy | qoliber Docs