How To Install postgresql-plpython3 on AlmaLinux 8
Introduction
In this tutorial we learn how to install postgresql-plpython3 on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8
To uninstall only the postgresql-plpython3 package we can use the following command:
sudo dnf remove postgresql-plpython3
References
Summary
In this tutorial we learn how to install postgresql-plpython3 on AlmaLinux 8 using yum and dnf.