Many Operating System vendors provide FreeRADIUS packages which are years out of date. Those old packages are missing many bug fixes and new features which are included in the “up to date” release. As a result, systems using the old packages can be exposed to issues which have already been found and fixed in the “upstream” releases.
We recommend using the packages provided below. Using these packages will make your systems more stable, and easier to test.
Our package repositories contain the latest stable versions of FreeRADIUS for all common Linux distributions.
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 3.2 on Ubuntu Noble 24.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-3.2/ubuntu/noble noble main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.2 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-3.2/ubuntu/jammy jammy main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.2 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-3.2/ubuntu/focal focal main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.2 on Ubuntu Bionic 18.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-3.2/ubuntu/bionic bionic main" | \
sudo tee /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
Debian
Choose your OS version:
FreeRADIUS 3.2 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-3.2/debian/bookworm bookworm main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.2 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-3.2/debian/bullseye bullseye main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.2 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-3.2/debian/buster buster main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.2 on Debian 9 “Stretch”
Debian 9 is no longer supported, but older FreeRADIUS packages are still available. We strongly recommend you upgrade your system.
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-3.2/debian/stretch stretch main" | \
sudo tee /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 3.2 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-3.2/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
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 3: rlm_python3)
FreeRADIUS 3.2 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-3.2/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
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2 and 3: rlm_python, rlm_python3)
FreeRADIUS 3.2 on CentOS 8
We recommend the use of our Rocky Linux repository for CentOS 8.
Since FreeRADIUS 3.2.4 we no longer build CentOS 8 packages. Please switch to the Rocky Linux 8 repository instead.
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-3.2/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2 and 3: rlm_python, rlm_python3)
FreeRADIUS 3.2 on CentOS 7
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-3.2/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2: rlm_python)
FreeRADIUS 3.2 on RHEL 9
We recommend the 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-3.2/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 3: rlm_python3)
FreeRADIUS 3.2 on RHEL 8
We recommend the use of our Rocky Linux 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-3.2/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2 and 3: rlm_python, rlm_python3)
FreeRADIUS 3.2 on RHEL 7
We recommend use of our CentOS repository for RHEL 7.
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-3.2/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2: rlm_python)
FreeRADIUS 3.0 on Ubuntu Noble 24.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-3.0/ubuntu/noble noble main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.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-3.0/ubuntu/jammy jammy main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.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-3.0/ubuntu/focal focal main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.0 on Ubuntu Bionic 18.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-3.0/ubuntu/bionic bionic main" | \
sudo tee /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
Debian
Choose your OS version:
FreeRADIUS 3.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-3.0/debian/bookworm bookworm main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.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-3.0/debian/bullseye bullseye main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.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-3.0/debian/buster buster main" | \
sudo tee /etc/apt/sources.list.d/networkradius.list > /dev/null
FreeRADIUS 3.0 on Debian 9 “Stretch”
Debian 9 is no longer supported, but older FreeRADIUS packages are still available. We strongly recommend you upgrade your system.
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-3.0/debian/stretch stretch main" | \
sudo tee /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 3.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-3.0/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
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 3: rlm_python3)
FreeRADIUS 3.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-3.0/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
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2 and 3: rlm_python, rlm_python3)
FreeRADIUS 3.0 on CentOS 8
We recommend the use of our Rocky Linux repository for CentOS 8.
Since FreeRADIUS 3.2.4 we no longer build CentOS 8 packages. Please switch to the Rocky Linux 8 repository instead.
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-3.0/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2 and 3: rlm_python, rlm_python3)
FreeRADIUS 3.0 on CentOS 7
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-3.0/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2: rlm_python)
FreeRADIUS 3.0 on RHEL 9
We recommend the 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-3.0/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 3: rlm_python3)
FreeRADIUS 3.0 on RHEL 8
We recommend the use of our Rocky Linux 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-3.0/rocky/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2 and 3: rlm_python, rlm_python3)
FreeRADIUS 3.0 on RHEL 7
We recommend use of our CentOS repository for RHEL 7.
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-3.0/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com
EOF
Install the FreeRADIUS packages:
yum install freeradius
The following optional packages may also be needed for certain FreeRADIUS utilities or modules (e.g. particular databases).
- freeradius-krb5 (Kerberos 5 support: rlm_krb5)
- freeradius-ldap (LDAP support: rlm_ldap)
- freeradius-redis (Redis database support: rlm_redis)
- freeradius-rest (HTTP REST support: rlm_rest)
- freeradius-utils (Many useful utilities such as radtest and radclient)
SQL Database drivers:
- freeradius-freetds (Microsoft SQL Server support: rlm_sql_freetds)
- freeradius-mysql (MariaDB / MySQL support: rlm_sql_mysql)
- freeradius-postgresql (PostgreSQL: rlm_sql_postgresql)
- freeradius-sqlite (SQlite support: rlm_sql_sqlite)
- freeradius-unixODBC (SQL ODBC support: rlm_sql_unixODBC)
Languages:
- freeradius-perl (Perl support: rlm_perl)
- freeradius-perl-util (Perl rlm_sqlippool_tool utility)
- freeradius-python (Python 2: rlm_python)