The following packages are for FreeRADIUS 4.0, the upcoming version that is still in development. Whilst Network RADIUS have been supporting and using version 4 for several years with several customers, we highly recommend only using these packages for testing purposes only. We cannot guarantee that any features are stable or even complete.

Most people should use FreeRADIUS version 3.

If you need new functionality, why not contact us to find out what we can do for your organisation.

Our package repositories contain the latest stable versions of FreeRADIUS for all common Linux distributions.

Note that FreeRADIUS version 4 will only run on more recent operating systems, and has a dependency on libkqueue. The libkqueue packages must be installed from our repositories - there are bugs in all known versions included in every Linux distribution we have tested.

Plase select which version you wish to use:

Alternatively, show all instructions on one page.

If you run into issues, you can always purchase support for all versions of FreeRADIUS.

FreeRADIUS 4.0 alpha releases

Choose your Operating System:

Ubuntu

Choose your OS version:

FreeRADIUS 4.0 on Ubuntu Jammy 22.04

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add an APT preferences file to ensure all freeradius packages are installed from the Network RADIUS repository:

printf 'Package: /freeradius/\nPin: origin "packages.networkradius.com"\nPin-Priority: 999\n' | \
    sudo tee /etc/apt/preferences.d/networkradius > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-4.0/ubuntu/jammy jammy main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/ubuntu/jammy jammy main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

FreeRADIUS 4.0 on Ubuntu Focal 20.04

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-4.0/ubuntu/focal focal main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/ubuntu/focal focal main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

Finally, update the APT database and install the packages:

sudo apt-get update
sudo apt-get install freeradius

FreeRADIUS 4.0 on Debian 12 “Bookworm”

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add an APT preferences file to ensure all freeradius packages are installed from the Network RADIUS repository:

printf 'Package: /freeradius/\nPin: origin "packages.networkradius.com"\nPin-Priority: 999\n' | \
    sudo tee /etc/apt/preferences.d/networkradius > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-4.0/debian/bookworm bookworm main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/debian/bookworm bookworm main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

FreeRADIUS 4.0 on Debian 11 “Bullseye”

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-4.0/debian/bullseye bullseye main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/debian/bullseye bullseye main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

FreeRADIUS 4.0 on Debian 10 “Buster”

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-4.0/debian/buster buster main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/debian/buster buster main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

Finally, update the APT database and install the packages:

sudo apt-get update
sudo apt-get install freeradius

Rocky Linux

Choose your OS version:

FreeRADIUS 4.0 on Rocky Linux 9

Import the NetworkRADIUS PGP public key:

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

Add the NetworkRADIUS repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

Some of our packages (such as freeradius-mysql) have dependencies in the Rocky “Code Ready Builder” repository. If in doubt, add this repository using the following command:

yum install yum-utils
yum config-manager --enable crb

FreeRADIUS 4.0 on Rocky Linux 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 repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

Some of our packages (such as freeradius-mysql) have dependencies in the Rocky “PowerTools” repository. If in doubt, add this repository using the following command:

yum install yum-utils
yum config-manager --enable powertools

Install the FreeRADIUS packages:

yum install freeradius

CentOS

We provide packages for CentOS Linux 7 and 8, and Rocky Linux 8 and 9. These instructions also work on RHEL.

Choose your OS version:

FreeRADIUS 4.0 on CentOS 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 repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

Install the FreeRADIUS packages:

yum install freeradius

RHEL

We provide packages for CentOS Linux 7 and 8, and Rocky Linux 8 and 9. These instructions also work on RHEL.

Choose your OS version:

FreeRADIUS 4.0 on RHEL 9

We recommend use of our Rocky Linux repository for RHEL 9.

Import the NetworkRADIUS PGP public key:

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

Add the NetworkRADIUS repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

FreeRADIUS 4.0 on RHEL 8

We recommend use of our CentOS repository for 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 repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

Install the FreeRADIUS packages:

yum install freeradius

FreeRADIUS 4.0 development snapshots

Choose your Operating System:

Ubuntu

Choose your OS version:

FreeRADIUS devel-4.0 on Ubuntu Jammy 22.04

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add an APT preferences file to ensure all freeradius packages are installed from the Network RADIUS repository:

printf 'Package: /freeradius/\nPin: origin "packages.networkradius.com"\nPin-Priority: 999\n' | \
    sudo tee /etc/apt/preferences.d/networkradius > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-devel-4.0/ubuntu/jammy jammy main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/ubuntu/jammy jammy main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

FreeRADIUS devel-4.0 on Ubuntu Focal 20.04

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-devel-4.0/ubuntu/focal focal main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/ubuntu/focal focal main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

Finally, update the APT database and install the packages:

sudo apt-get update
sudo apt-get install freeradius

FreeRADIUS devel-4.0 on Debian 12 “Bookworm”

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add an APT preferences file to ensure all freeradius packages are installed from the Network RADIUS repository:

printf 'Package: /freeradius/\nPin: origin "packages.networkradius.com"\nPin-Priority: 999\n' | \
    sudo tee /etc/apt/preferences.d/networkradius > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-devel-4.0/debian/bookworm bookworm main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/debian/bookworm bookworm main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

FreeRADIUS devel-4.0 on Debian 11 “Bullseye”

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-devel-4.0/debian/bullseye bullseye main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/debian/bullseye bullseye main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

FreeRADIUS devel-4.0 on Debian 10 “Buster”

Add the NetworkRADIUS PGP public key:

install -d -o root -g root -m 0755 /etc/apt/keyrings
curl -s 'https://packages.networkradius.com/pgp/packages%40networkradius.com' | \
    sudo tee /etc/apt/keyrings/packages.networkradius.com.asc > /dev/null

Add the APT sources list:

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/freeradius-devel-4.0/debian/buster buster main" | \
    sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.networkradius.com.asc] http://packages.networkradius.com/extras/debian/buster buster main" | \
    sudo tee -a /etc/apt/sources.list.d/networkradius.list > /dev/null

Finally, update the APT database and install the packages:

sudo apt-get update
sudo apt-get install freeradius

Rocky Linux

Choose your OS version:

FreeRADIUS devel-4.0 on Rocky Linux 9

Import the NetworkRADIUS PGP public key:

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

Add the NetworkRADIUS repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

Some of our packages (such as freeradius-mysql) have dependencies in the Rocky “Code Ready Builder” repository. If in doubt, add this repository using the following command:

yum install yum-utils
yum config-manager --enable crb

FreeRADIUS devel-4.0 on Rocky Linux 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 repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

Some of our packages (such as freeradius-mysql) have dependencies in the Rocky “PowerTools” repository. If in doubt, add this repository using the following command:

yum install yum-utils
yum config-manager --enable powertools

Install the FreeRADIUS packages:

yum install freeradius

CentOS

We provide packages for CentOS Linux 7 and 8, and Rocky Linux 8 and 9. These instructions also work on RHEL.

Choose your OS version:

FreeRADIUS devel-4.0 on CentOS 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 repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

Install the FreeRADIUS packages:

yum install freeradius

RHEL

We provide packages for CentOS Linux 7 and 8, and Rocky Linux 8 and 9. These instructions also work on RHEL.

Choose your OS version:

FreeRADIUS devel-4.0 on RHEL 9

We recommend use of our Rocky Linux repository for RHEL 9.

Import the NetworkRADIUS PGP public key:

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

Add the NetworkRADIUS repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

FreeRADIUS devel-4.0 on RHEL 8

We recommend use of our CentOS repository for 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 repository:

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

[networkradius-extras]
name=NetworkRADIUS-extras-$releasever
baseurl=http://packages.networkradius.com/extras/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF

Install the FreeRADIUS packages:

yum install freeradius