How To Install postgresql-plpython3 on Fedora 36
Introduction
In this tutorial we learn how to install postgresql-plpython3
on Fedora 36.
What is postgresql-plpython3
The postgresql-plpython3 package contains the PL/Python3 procedural language, which is an extension to the PostgreSQL database server. Install this if you want to write database functions in Python 3.
We can use yum
or dnf
to install postgresql-plpython3
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install postgresql-plpython3.
Install postgresql-plpython3 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 postgresql-plpython3
using dnf
by running the following command:
sudo dnf -y install postgresql-plpython3
Install postgresql-plpython3 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 postgresql-plpython3
using yum
by running the following command:
sudo yum -y install postgresql-plpython3
How To Uninstall postgresql-plpython3 on Fedora 36
To uninstall only the postgresql-plpython3
package we can use the following command:
sudo dnf remove postgresql-plpython3
postgresql-plpython3 Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/1062f84526c5d06d02c60ba07d684501d099b9
/usr/lib64/pgsql/plpython3.so
/usr/share/locale/cs/LC_MESSAGES/plpython-14.mo
/usr/share/locale/de/LC_MESSAGES/plpython-14.mo
/usr/share/locale/el/LC_MESSAGES/plpython-14.mo
/usr/share/locale/es/LC_MESSAGES/plpython-14.mo
/usr/share/locale/fr/LC_MESSAGES/plpython-14.mo
/usr/share/locale/it/LC_MESSAGES/plpython-14.mo
/usr/share/locale/ja/LC_MESSAGES/plpython-14.mo
/usr/share/locale/ko/LC_MESSAGES/plpython-14.mo
/usr/share/locale/pl/LC_MESSAGES/plpython-14.mo
/usr/share/locale/pt_BR/LC_MESSAGES/plpython-14.mo
/usr/share/locale/ru/LC_MESSAGES/plpython-14.mo
/usr/share/locale/sv/LC_MESSAGES/plpython-14.mo
/usr/share/locale/tr/LC_MESSAGES/plpython-14.mo
/usr/share/locale/uk/LC_MESSAGES/plpython-14.mo
/usr/share/locale/vi/LC_MESSAGES/plpython-14.mo
/usr/share/locale/zh_CN/LC_MESSAGES/plpython-14.mo
/usr/share/pgsql/extension/plpython3u--1.0.sql
/usr/share/pgsql/extension/plpython3u.control
References
Summary
In this tutorial we learn how to install postgresql-plpython3
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).