How To Install freeradius-sqlite on Rocky Linux 8

In this tutorial we learn how to install freeradius-sqlite on Rocky Linux 8. freeradius-sqlite is SQLite support for freeradius

Introduction

In this tutorial we learn how to install freeradius-sqlite on Rocky Linux 8.

What is freeradius-sqlite

This plugin provides the SQLite support for the FreeRADIUS server project.

We can use yum or dnf to install freeradius-sqlite on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install freeradius-sqlite.

Install freeradius-sqlite on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install freeradius-sqlite using dnf by running the following command:

sudo dnf -y install freeradius-sqlite

Install freeradius-sqlite on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install freeradius-sqlite using yum by running the following command:

sudo yum -y install freeradius-sqlite

How To Uninstall freeradius-sqlite on Rocky Linux 8

To uninstall only the freeradius-sqlite package we can use the following command:

sudo dnf remove freeradius-sqlite

freeradius-sqlite Package Contents on Rocky Linux 8

/etc/raddb/mods-config/sql/counter/sqlite
/etc/raddb/mods-config/sql/counter/sqlite/dailycounter.conf
/etc/raddb/mods-config/sql/counter/sqlite/expire_on_login.conf
/etc/raddb/mods-config/sql/counter/sqlite/monthlycounter.conf
/etc/raddb/mods-config/sql/counter/sqlite/noresetcounter.conf
/etc/raddb/mods-config/sql/cui/sqlite
/etc/raddb/mods-config/sql/cui/sqlite/queries.conf
/etc/raddb/mods-config/sql/cui/sqlite/schema.sql
/etc/raddb/mods-config/sql/ippool-dhcp/sqlite
/etc/raddb/mods-config/sql/ippool-dhcp/sqlite/queries.conf
/etc/raddb/mods-config/sql/ippool-dhcp/sqlite/schema.sql
/etc/raddb/mods-config/sql/ippool/sqlite
/etc/raddb/mods-config/sql/ippool/sqlite/queries.conf
/etc/raddb/mods-config/sql/ippool/sqlite/schema.sql
/etc/raddb/mods-config/sql/main/sqlite
/etc/raddb/mods-config/sql/main/sqlite/queries.conf
/etc/raddb/mods-config/sql/main/sqlite/schema.sql
/usr/lib/.build-id
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/ba6860cbb6d05f087540cd51c8276993eac1ae
/usr/lib64/freeradius/rlm_sql_sqlite.so

References

Summary

In this tutorial we learn how to install freeradius-sqlite on Rocky Linux 8 using yum and dnf.