How To Install mingw64-python3-psycopg2 on Fedora 36

In this tutorial we learn how to install mingw64-python3-psycopg2 in Fedora 36. mingw64-python3-psycopg2 is MinGW Windows Python3 psycopg2 library

Introduction

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

What is mingw64-python3-psycopg2

MinGW Windows Python3 psycopg2 library.

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

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

sudo dnf -y install mingw64-python3-psycopg2

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

sudo yum -y install mingw64-python3-psycopg2

How To Uninstall mingw64-python3-psycopg2 on Fedora 36

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

sudo dnf remove mingw64-python3-psycopg2

mingw64-python3-psycopg2 Package Contents on Fedora 36

/usr/share/licenses/mingw64-python3-psycopg2
/usr/share/licenses/mingw64-python3-psycopg2/LICENSE
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2-2.9.1-py3.10.egg-info
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2-2.9.1-py3.10.egg-info/PKG-INFO
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2-2.9.1-py3.10.egg-info/SOURCES.txt
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2-2.9.1-py3.10.egg-info/dependency_links.txt
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2-2.9.1-py3.10.egg-info/top_level.txt
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__init__.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/__init__.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/_ipaddress.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/_ipaddress.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/_json.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/_json.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/_range.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/_range.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/errorcodes.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/errorcodes.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/errors.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/errors.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/extensions.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/extensions.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/extras.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/extras.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/pool.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/pool.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/sql.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/sql.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/tz.cpython-310.opt-1.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/__pycache__/tz.cpython-310.pyc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/_ipaddress.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/_json.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/_psycopg-cpython-310.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/_range.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/errorcodes.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/errors.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/extensions.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/extras.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/pool.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/sql.py
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/python3.10/site-packages/psycopg2/tz.py

References

Summary

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