UBUNTU

Add the APT sources list for the appropriate distribution.

For Focal Fossa (20.04):

echo "deb http://packages.networkradius.com/releases/ubuntu-focal focal main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null

For Bionic Beaver (18.04):

echo "deb http://packages.networkradius.com/releases/ubuntu-bionic bionic main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null

For Xenial Xerus (16.04):

echo "deb http://packages.networkradius.com/releases/ubuntu-xenial xenial main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null

Add the NetworkRADIUS PGP public key. For Focal and Bionic:

curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/trusted.gpg.d/packages.networkradius.com.asc > /dev/null

On Xenial, instead use:

curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo apt-key add -

Finally, update the APT database:

sudo apt-get update

DEBIAN

Add the APT sources list for the appropriate distribution.

For Debian 10 “Buster”:

echo "deb http://packages.networkradius.com/releases/debian-buster buster main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null

For Debian 9 “Stretch”:

echo "deb http://packages.networkradius.com/releases/debian-stretch stretch main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null

Add the NetworkRADIUS PGP public key:

curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/trusted.gpg.d/packages.networkradius.com.asc > /dev/null

Finally, update the APT database:

sudo apt-get update

CENTOS (and RHEL)

We provide packages for CentOS 7 and 8. These instructions also work on RHEL.

On CentOS/RHEL 8, disable the distribution FreeRADIUS packages:

yum -y module disable freeradius

Note: CentOS and RedHat link their LDAP libraries against NSS. FreeRADIUS uses OpenSSL. NSS and OpenSSL cannot be used in the same application, as they will cause it to crash. FreeRADIUS therefore must use libldap from the LDAP Toolbox Project, which uses OpenSSL.

Import the LDAP Toolbox Project PGP public key:

rpm --import https://ltb-project.org/lib/RPM-GPG-KEY-LTB-project

Add the LDAP Toolbox Project Yum/DNF repository:

cat <<'EOF' >/etc/yum.repos.d/ltb-project.repo
[ltb-project]
name=LTB project packages
baseurl=https://ltb-project.org/rpm/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=https://ltb-project.org/lib/RPM-GPG-KEY-LTB-project
EOF

Import the NetworkRADIUS PGP public key:

rpm --import 'https://packages.networkradius.com/pgp/packages%40networkradius.com'

Add the NetworkRADIUS Yum/DNF repository:

cat <<'EOF' >/etc/yum.repos.d/networkradius.repo
[networkradius]
name=NetworkRADIUS-$releasever
baseurl=http://packages.networkradius.com/releases/centos/$releasever/repo/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF