How To Install nextcloud-postgresql on Fedora 36
Introduction
In this tutorial we learn how to install nextcloud-postgresql
on Fedora 36.
What is nextcloud-postgresql
This package ensures the necessary dependencies are in place for NextCloud to work with a PostgreSQL database. It does not require the PostgreSQL server package 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 the PostgreSQL server package. See README.postgresql for more details.
We can use yum
or dnf
to install nextcloud-postgresql
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nextcloud-postgresql.
Install nextcloud-postgresql 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-postgresql
using dnf
by running the following command:
sudo dnf -y install nextcloud-postgresql
Install nextcloud-postgresql 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-postgresql
using yum
by running the following command:
sudo yum -y install nextcloud-postgresql
How To Uninstall nextcloud-postgresql on Fedora 36
To uninstall only the nextcloud-postgresql
package we can use the following command:
sudo dnf remove nextcloud-postgresql
nextcloud-postgresql Package Contents on Fedora 36
/usr/share/doc/nextcloud-postgresql
/usr/share/doc/nextcloud-postgresql/README.postgresql
References
Summary
In this tutorial we learn how to install nextcloud-postgresql
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).