modctl

Install instructions for Linux package managers

Debian / Ubuntu

1. Import signing key
sudo curl -fsSo /usr/share/keyrings/modctl-archive-keyring.gpg https://pkg.modctl.org/pubkey.gpg
2. Add repository
sudo curl -fsSo /etc/apt/sources.list.d/modctl.sources https://pkg.modctl.org/apt/modctl.sources
3. Install
sudo apt update && sudo apt install modctl

Fedora / RHEL / Rocky Linux / AlmaLinux

1. Import signing key
sudo rpm --import https://pkg.modctl.org/pubkey.asc
2. Add repository
sudo curl -fsSo /etc/yum.repos.d/modctl.repo https://pkg.modctl.org/rpm/modctl.repo
3. Install
sudo dnf install modctl

Arch Linux

1. Import signing key
curl -fsS https://pkg.modctl.org/pubkey.asc | sudo pacman-key -a -
2. Locally sign signing key
sudo pacman-key --lsign-key 2AF87031171950F11C460B5AEF5F1F6026B2C9C5
3. Add repository - append to /etc/pacman.conf before [core]
[modctl]
Server = https://pkg.modctl.org/arch/$arch
SigLevel = Required DatabaseRequired
4. Install
sudo pacman -Sy modctl

The signing key must be locally signed with --lsign-key because it is not in the Arch Linux keyring.