Skip to content

RHEL / Fedora / CentOS

Install Trident on Fedora, RHEL, CentOS, Rocky Linux, AlmaLinux, Oracle Linux, and Amazon Linux using YUM or DNF.

Automatic Setup

The repository setup script handles everything:

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

Then install:

sudo dnf install trident
sudo yum install trident

Manual Setup

1. Import the GPG signing key

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

2. Add the repository

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

[trident]
name=Trident Caching Proxy
baseurl=https://pkg.trident-cache.com/rpm/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://pkg.trident-cache.com/gpg

3. Install

sudo dnf makecache
sudo dnf install trident
sudo yum makecache
sudo yum install trident

Verify Installation

trident --version

Next Steps