2 min readMar 29, 2026by jakub
Debian / Ubuntu
Install Trident on Debian, Ubuntu, and derivatives (Linux Mint, Pop!_OS, Kali, Raspberry Pi OS) using APT.
Tested Distributions
This installation method is tested end-to-end on Debian 12 (Bookworm) and Ubuntu 24.04 (Noble Numbat) 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 shThen install:
Bash
sudo apt-get install tridentManual Setup
If you prefer to configure the repository manually:
1. Install prerequisites
Bash
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg2. Import the GPG signing key
Bash
sudo mkdir -p /usr/share/keyrings
curl -fsSL https://pkg.trident-cache.com/gpg.key \
| sudo gpg --dearmor -o /usr/share/keyrings/trident-archive-keyring.gpg3. Add the repository
Bash
echo "deb [signed-by=/usr/share/keyrings/trident-archive-keyring.gpg] https://pkg.trident-cache.com/apt stable main" \
| sudo tee /etc/apt/sources.list.d/trident.list4. Install
Bash
sudo apt-get update
sudo apt-get install tridentWhat 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 | /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 --versionCheck that the systemd service file is in place:
Bash
systemctl cat tridentNext Steps
- Configuration -- edit
/etc/trident/config.toml - Service Management -- start and enable the systemd service
Was this page helpful?