How To Install nextcloud-mysql on Fedora 36

In this tutorial we learn how to install nextcloud-mysql in Fedora 36. nextcloud-mysql is MySQL database support for NextCloud

Introduction

In this tutorial we learn how to install nextcloud-mysql on Fedora 36.

What is nextcloud-mysql

This package ensures the necessary dependencies are in place for NextCloud to work with MySQL / MariaDB databases. It does not require a MySQL / MariaDB server to be installed, as you may well wish to use a remote database server. If you want the database to be on the same system as NextCloud itself, you must also install and enable a MySQL / MariaDB server package. See README.mysql for more details.

We can use yum or dnf to install nextcloud-mysql on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nextcloud-mysql.

Install nextcloud-mysql on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install nextcloud-mysql

Install nextcloud-mysql on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install nextcloud-mysql

How To Uninstall nextcloud-mysql on Fedora 36

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

sudo dnf remove nextcloud-mysql

nextcloud-mysql Package Contents on Fedora 36

/usr/share/doc/nextcloud-mysql
/usr/share/doc/nextcloud-mysql/README.mysql

References

Summary

In this tutorial we learn how to install nextcloud-mysql on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).