How To Install postgresql-plpython3 on Rocky Linux 8
Introduction
In this tutorial we learn how to install postgresql-plpython3
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install postgresql-plpython3.
Install postgresql-plpython3 on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the postgresql-plpython3
package we can use the following command:
sudo dnf remove postgresql-plpython3
postgresql-plpython3 Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/0e0874ebd7568c063bd1a607d7aff5ca1d413b
/usr/lib64/pgsql/plpython3.so
/usr/share/locale/cs/LC_MESSAGES/plpython-10.mo
/usr/share/locale/de/LC_MESSAGES/plpython-10.mo
/usr/share/locale/es/LC_MESSAGES/plpython-10.mo
/usr/share/locale/fr/LC_MESSAGES/plpython-10.mo
/usr/share/locale/it/LC_MESSAGES/plpython-10.mo
/usr/share/locale/ja/LC_MESSAGES/plpython-10.mo
/usr/share/locale/ko/LC_MESSAGES/plpython-10.mo
/usr/share/locale/pl/LC_MESSAGES/plpython-10.mo
/usr/share/locale/pt_BR/LC_MESSAGES/plpython-10.mo
/usr/share/locale/ru/LC_MESSAGES/plpython-10.mo
/usr/share/locale/sv/LC_MESSAGES/plpython-10.mo
/usr/share/locale/tr/LC_MESSAGES/plpython-10.mo
/usr/share/locale/zh_CN/LC_MESSAGES/plpython-10.mo
/usr/share/pgsql/extension/plpython3u--1.0.sql
/usr/share/pgsql/extension/plpython3u--unpackaged--1.0.sql
/usr/share/pgsql/extension/plpython3u.control
References
Summary
In this tutorial we learn how to install postgresql-plpython3
on Rocky Linux 8 using yum and dnf.