How To Install nss on Fedora 34

nss is Network Security Services Network Security Services

Introduction

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

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. nss 3.67.0 1.fc34 x86_64 684 k nss-3.67.0-1.fc34.src.rpm updates Network Security Services http MPLv2.0 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install nss.

Install nss on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install nss

Install nss on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove nss

nss Package Contents on Fedora 34

/etc/crypto-policies/local.d/nss-p11-kit.config
/etc/pki/nssdb
/etc/pki/nssdb/cert8.db
/etc/pki/nssdb/cert9.db
/etc/pki/nssdb/key3.db
/etc/pki/nssdb/key4.db
/etc/pki/nssdb/pkcs11.txt
/etc/pki/nssdb/secmod.db
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/dfff5c05ebf160c3bf43010a80328db3bbc61b
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/ea6edacdd0a757f06c2f39a303a4588f09f9c1
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/f44f95d85a064d929b24b02a1cda719e114a71
/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/cert8.db.5.gz
/usr/share/man/man5/cert9.db.5.gz
/usr/share/man/man5/key3.db.5.gz
/usr/share/man/man5/key4.db.5.gz
/usr/share/man/man5/pkcs11.txt.5.gz
/usr/share/man/man5/secmod.db.5.gz
/etc/crypto-policies/local.d/nss-p11-kit.config
/etc/pki/nssdb
/etc/pki/nssdb/cert8.db
/etc/pki/nssdb/cert9.db
/etc/pki/nssdb/key3.db
/etc/pki/nssdb/key4.db
/etc/pki/nssdb/pkcs11.txt
/etc/pki/nssdb/secmod.db
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/bbfb8bf4085fcc1d414f5c2e45e99042b36dfe
/usr/lib/.build-id/de
/usr/lib/.build-id/de/06d1710d3a9d2763f26ae012bccf274f533add
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/1d9512d8d01e21722ef174006f4aa37dd69f1a
/usr/lib/libnss3.so
/usr/lib/libsmime3.so
/usr/lib/libssl3.so
/usr/share/licenses/nss
/usr/share/licenses/nss/COPYING
/usr/share/man/man5/cert8.db.5.gz
/usr/share/man/man5/cert9.db.5.gz
/usr/share/man/man5/key3.db.5.gz
/usr/share/man/man5/key4.db.5.gz
/usr/share/man/man5/pkcs11.txt.5.gz
/usr/share/man/man5/secmod.db.5.gz
/etc/crypto-policies/local.d/nss-p11-kit.config
/etc/pki/nssdb
/etc/pki/nssdb/cert8.db
/etc/pki/nssdb/cert9.db
/etc/pki/nssdb/key3.db
/etc/pki/nssdb/key4.db
/etc/pki/nssdb/pkcs11.txt
/etc/pki/nssdb/secmod.db
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/2cb4e7ccd9657d6c23f5f0331c1dc57efd04c8
/usr/lib/.build-id/95
/usr/lib/.build-id/95/4992f4688909d905af833c4f629e3c78e643ec
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/bf63a5484cc2641275e801ca63359903a0b6b9
/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/cert8.db.5.gz
/usr/share/man/man5/cert9.db.5.gz
/usr/share/man/man5/key3.db.5.gz
/usr/share/man/man5/key4.db.5.gz
/usr/share/man/man5/pkcs11.txt.5.gz
/usr/share/man/man5/secmod.db.5.gz
/etc/crypto-policies/local.d/nss-p11-kit.config
/etc/pki/nssdb
/etc/pki/nssdb/cert8.db
/etc/pki/nssdb/cert9.db
/etc/pki/nssdb/key3.db
/etc/pki/nssdb/key4.db
/etc/pki/nssdb/pkcs11.txt
/etc/pki/nssdb/secmod.db
/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/0c451ef3673d2b598f81f24d9cf31bb7eb7a8c
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/ffa6e7353f457a8e7a168a3e9fec39969385ed
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/afbcc44d59f2f1162de844b232b3d58fa06dd0
/usr/lib/libnss3.so
/usr/lib/libsmime3.so
/usr/lib/libssl3.so
/usr/share/licenses/nss
/usr/share/licenses/nss/COPYING
/usr/share/man/man5/cert8.db.5.gz
/usr/share/man/man5/cert9.db.5.gz
/usr/share/man/man5/key3.db.5.gz
/usr/share/man/man5/key4.db.5.gz
/usr/share/man/man5/pkcs11.txt.5.gz
/usr/share/man/man5/secmod.db.5.gz

References

Summary

In this tutorial we learn how to install nss on Fedora 34 using yum and dnf.