How To Install python3-psycopg2-debug on Fedora 36

In this tutorial we learn how to install python3-psycopg2-debug in Fedora 36. python3-psycopg2-debug is A PostgreSQL database adapter for Python 3 (debug build)

Introduction

In this tutorial we learn how to install python3-psycopg2-debug on Fedora 36.

What is python3-psycopg2-debug

This is a build of the psycopg PostgreSQL database adapter for the debug build of Python 3.

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

Install python3-psycopg2-debug 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 python3-psycopg2-debug using dnf by running the following command:

sudo dnf -y install python3-psycopg2-debug

Install python3-psycopg2-debug 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 python3-psycopg2-debug using yum by running the following command:

sudo yum -y install python3-psycopg2-debug

How To Uninstall python3-psycopg2-debug on Fedora 36

To uninstall only the python3-psycopg2-debug package we can use the following command:

sudo dnf remove python3-psycopg2-debug

python3-psycopg2-debug Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/a6ef1e8cd916ee3c755a6a9920432b09e41c41
/usr/lib64/python3.10/site-packages/psycopg2/_psycopg.cpython-310d-x86_64-linux-gnu.so
/usr/share/licenses/python3-psycopg2-debug
/usr/share/licenses/python3-psycopg2-debug/LICENSE

References

Summary

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