How To Install postgresql-pltcl on CentOS 7

In this tutorial we learn how to install postgresql-pltcl on CentOS 7. postgresql-pltcl is The Tcl procedural language for PostgreSQL

Introduction

In this tutorial we learn how to install postgresql-pltcl on CentOS 7.

What is postgresql-pltcl

The postgresql-pltcl package contains the PL/Tcl procedural language, which is an extension to the PostgreSQL database server. Install this if you want to write database functions in Tcl.

We can use yum or dnf to install postgresql-pltcl on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install postgresql-pltcl.

Install postgresql-pltcl on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install postgresql-pltcl using yum by running the following command:

sudo yum -y install postgresql-pltcl

Install postgresql-pltcl on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install postgresql-pltcl using dnf by running the following command:

sudo dnf -y install postgresql-pltcl

How To Uninstall postgresql-pltcl on CentOS 7

To uninstall only the postgresql-pltcl package we can use the following command:

sudo dnf remove postgresql-pltcl

References

Summary

In this tutorial we learn how to install postgresql-pltcl on CentOS 7 using yum and dnf.