How To Install nss on Fedora 36

In this tutorial we learn how to install nss in Fedora 36. nss is Network Security Services

Introduction

In this tutorial we learn how to install nss on Fedora 36.

What is nss

Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards.

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

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

sudo dnf -y install nss

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

sudo yum -y install nss

How To Uninstall nss on Fedora 36

To uninstall only the nss package we can use the following command:

sudo dnf remove nss

nss Package Contents on Fedora 36

/etc/crypto-policies/local.d/nss-p11-kit.config
/etc/pki/nssdb
/etc/pki/nssdb/cert9.db
/etc/pki/nssdb/key4.db
/etc/pki/nssdb/pkcs11.txt
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/8e4a54c8754e894ab31c0bc3af288f67050b8e
/usr/lib/.build-id/47
/usr/lib/.build-id/47/32ccf72341d6444aa9242bdc8374e58cfa50c2
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/01c4e9be2288c2ecf32342256186c75a1d3211
/usr/lib64/libnss3.so
/usr/lib64/libsmime3.so
/usr/lib64/libssl3.so
/usr/share/licenses/nss
/usr/share/licenses/nss/COPYING
/usr/share/man/man5/cert9.db.5.gz
/usr/share/man/man5/key4.db.5.gz
/usr/share/man/man5/pkcs11.txt.5.gz

References

Summary

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