This pulls the packages from the Kanidm debs releases and makes a package archive for "nightly" packages. Packages are distributed for the latest LTS versions, Ubuntu 22.04 & Debian 12.
The below commands:
- Sets pipefail so that failures are caught.
- Makes sure you have a "trusted GPG" directory.
- Downloads the Kanidm PPA GPG public key.
- Adds the Kanidm PPA to your local APT configuration, with autodetection of Ubuntu vs. Debian.
- Updates your local package cache.
set -o pipefail
sudo mkdir -p /etc/apt/trusted.gpg.d/
curl -s --compressed "https://kanidm.github.io/kanidm_ppa/KEY.gpg" \
| gpg --dearmor \
| sudo tee /etc/apt/trusted.gpg.d/kanidm_ppa.gpg >/dev/null
sudo curl -s --compressed "https://kanidm.github.io/kanidm_ppa/kanidm_ppa.list" \
| grep $( ( . /etc/os-release && echo $ID) ) \
| sudo tee /etc/apt/sources.list.d/kanidm_ppa.list
sudo apt update
Use apt-cache
to list the packages available:
apt-cache search kanidm