FreeBSD¶
Install Trident on FreeBSD using pkg.
Note
FreeBSD packages are currently available for amd64 only.
Automatic Setup¶
The repository setup script handles everything:
FreeBSD-native variant (works on minimal hosts without curl/sudo):
Then install:
Manual Setup¶
1. Add the repository¶
Create /usr/local/etc/pkg/repos/trident.conf:
Use your FreeBSD major version for <MAJOR>:
- FreeBSD 14.x:
14 - FreeBSD 15.x:
15
Example:
MAJOR=$(uname -r | cut -d. -f1)
sudo tee /usr/local/etc/pkg/repos/trident.conf >/dev/null <<EOF
trident: {
url: "https://pkg.trident-cache.com/freebsd/${MAJOR}/amd64",
enabled: yes
}
EOF
2. Install¶
-U skips package catalog auto-refresh during install. This avoids a known
pkg metadata-format issue while Trident's FreeBSD repository is publishing
legacy packagesite.txz metadata.
Verify Installation¶
Next Steps¶
- Configuration — edit
/usr/local/etc/trident/config.toml - Service Management — enable the rc.d service