How To Install openqa-local-db on Fedora 36

In this tutorial we learn how to install openqa-local-db in Fedora 36. openqa-local-db is Helper package to ease setup of postgresql DB

Introduction

In this tutorial we learn how to install openqa-local-db on Fedora 36.

What is openqa-local-db

You only need this package if you have a local postgresql server next to the webui.

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

Install openqa-local-db 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 openqa-local-db using dnf by running the following command:

sudo dnf -y install openqa-local-db

Install openqa-local-db 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 openqa-local-db using yum by running the following command:

sudo yum -y install openqa-local-db

How To Uninstall openqa-local-db on Fedora 36

To uninstall only the openqa-local-db package we can use the following command:

sudo dnf remove openqa-local-db

openqa-local-db Package Contents on Fedora 36

/usr/bin/openqa-setup-db
/usr/lib/systemd/system/openqa-setup-db.service
/usr/share/openqa/script/setup-db

References

Summary

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