How To Install akonadi-mysql on CentOS 7

In this tutorial we learn how to install akonadi-mysql on CentOS 7. akonadi-mysql is Akonadi MySQL backend support

Introduction

In this tutorial we learn how to install akonadi-mysql on CentOS 7.

What is akonadi-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 akonadi-mysql on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install akonadi-mysql.

Install akonadi-mysql on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install akonadi-mysql

Install akonadi-mysql on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install akonadi-mysql

How To Uninstall akonadi-mysql on CentOS 7

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

sudo dnf remove akonadi-mysql

References

Summary

In this tutorial we learn how to install akonadi-mysql on CentOS 7 using yum and dnf.