How To Install kf5-akonadi-server-mysql on Rocky Linux 8

In this tutorial we learn how to install kf5-akonadi-server-mysql on Rocky Linux 8. kf5-akonadi-server-mysql is Akonadi MySQL backend support

Introduction

In this tutorial we learn how to install kf5-akonadi-server-mysql on Rocky Linux 8.

What is kf5-akonadi-server-mysql

Configures akonadi to use mysql backend by default. Requires an available instance of mysql server at runtime. Akonadi can spawn a per-user one automatically if the mysql-server package is installed on the machine. See also

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

Install kf5-akonadi-server-mysql 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 kf5-akonadi-server-mysql using dnf by running the following command:

sudo dnf -y install kf5-akonadi-server-mysql

Install kf5-akonadi-server-mysql 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 kf5-akonadi-server-mysql using yum by running the following command:

sudo yum -y install kf5-akonadi-server-mysql

How To Uninstall kf5-akonadi-server-mysql on Rocky Linux 8

To uninstall only the kf5-akonadi-server-mysql package we can use the following command:

sudo dnf remove kf5-akonadi-server-mysql

kf5-akonadi-server-mysql Package Contents on Rocky Linux 8

/etc/xdg/akonadi/akonadiserverrc.mysql
/etc/xdg/akonadi/mysql-global.conf
/etc/xdg/akonadi/mysql-local.conf

References

Summary

In this tutorial we learn how to install kf5-akonadi-server-mysql on Rocky Linux 8 using yum and dnf.