How To Install gawk-pgsql on Fedora 36

In this tutorial we learn how to install gawk-pgsql in Fedora 36. gawk-pgsql is PostgreSQL client library for gawk

Introduction

In this tutorial we learn how to install gawk-pgsql on Fedora 36.

What is gawk-pgsql

The gawk-pgsql module provides a gawk extension library for accessing PostgreSQL database servers using the libpq C library API.

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

Install gawk-pgsql 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 gawk-pgsql using dnf by running the following command:

sudo dnf -y install gawk-pgsql

Install gawk-pgsql 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 gawk-pgsql using yum by running the following command:

sudo yum -y install gawk-pgsql

How To Uninstall gawk-pgsql on Fedora 36

To uninstall only the gawk-pgsql package we can use the following command:

sudo dnf remove gawk-pgsql

gawk-pgsql Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/b05283fb3e873c93c292dbcc1078eed0583fe7
/usr/lib64/gawk/pgsql.so
/usr/share/doc/gawk-pgsql
/usr/share/doc/gawk-pgsql/NEWS
/usr/share/doc/gawk-pgsql/pgtest.awk
/usr/share/doc/gawk-pgsql/testpgsql.awk
/usr/share/doc/gawk-pgsql/testxml2pgsql.awk
/usr/share/info/gawk-pgsql.info.gz
/usr/share/licenses/gawk-pgsql
/usr/share/licenses/gawk-pgsql/COPYING

References

Summary

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