How To Install libnss-pgsql on Fedora 36

In this tutorial we learn how to install libnss-pgsql in Fedora 36. libnss-pgsql is Name Service Switch library that interface with PostgreSQL

Introduction

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

What is libnss-pgsql

Name Service Switch library that interface with PostgreSQL. See /usr/share/doc/libnss-pgsql/nss-pgsql.html for the config file.

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

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

sudo dnf -y install libnss-pgsql

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

sudo yum -y install libnss-pgsql

How To Uninstall libnss-pgsql on Fedora 36

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

sudo dnf remove libnss-pgsql

libnss-pgsql Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/572724a8e818315ae9e39813c98354e3ee5709
/usr/lib64/libnss_pgsql.so.2
/usr/lib64/libnss_pgsql.so.2.0.0
/usr/share/doc/libnss-pgsql
/usr/share/doc/libnss-pgsql/AUTHORS
/usr/share/doc/libnss-pgsql/COPYING
/usr/share/doc/libnss-pgsql/ChangeLog
/usr/share/doc/libnss-pgsql/README
/usr/share/doc/libnss-pgsql/caution.png
/usr/share/doc/libnss-pgsql/nss-pgsql.html

References

Summary

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


title: “How To Install libnss-pgsql on Fedora 36” linkTitle: “libnss-pgsql” type: “docs” description: “In this tutorial we learn how to install libnss-pgsql in Fedora 36. libnss-pgsql is Name Service Switch library that interface with PostgreSQL” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libnss-pgsql-featured.png

Introduction

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

What is libnss-pgsql

Name Service Switch library that interface with PostgreSQL. See /usr/share/doc/libnss-pgsql/nss-pgsql.html for the config file.

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

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

sudo dnf -y install libnss-pgsql

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

sudo yum -y install libnss-pgsql

How To Uninstall libnss-pgsql on Fedora 36

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

sudo dnf remove libnss-pgsql

libnss-pgsql Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/997f062c764bc03ae95758972d392c1125dd68
/usr/lib/libnss_pgsql.so.2
/usr/lib/libnss_pgsql.so.2.0.0
/usr/share/doc/libnss-pgsql
/usr/share/doc/libnss-pgsql/AUTHORS
/usr/share/doc/libnss-pgsql/COPYING
/usr/share/doc/libnss-pgsql/ChangeLog
/usr/share/doc/libnss-pgsql/README
/usr/share/doc/libnss-pgsql/caution.png
/usr/share/doc/libnss-pgsql/nss-pgsql.html

References

Summary

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