How To Install nss_db on Fedora 34
Introduction
In this tutorial we learn how to install nss_db
on Fedora 34.
What is nss_db
The nss_db Name Service Switch module uses hash-indexed files in /var/db to speed up user, group, service, host name, and other NSS-based lookups. nss_db 2.33 20.fc34 x86_64 34 k glibc-2.33-20.fc34.src.rpm updates Name Service Switch (NSS) module using hash-indexed files http LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL The nss_db Name Service Switch module uses hash-indexed files in /var/db to speed up user, group, service, host name, and other NSS-based lookups.
We can use yum
or dnf
to install nss_db
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nss_db.
Install nss_db 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_db
using dnf
by running the following command:
sudo dnf -y install nss_db
Install nss_db 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_db
using yum
by running the following command:
sudo yum -y install nss_db
How To Uninstall nss_db on Fedora 34
To uninstall only the nss_db
package we can use the following command:
sudo dnf remove nss_db
nss_db Package Contents on Fedora 34
/lib/libnss_db-2.33.so
/lib/libnss_db.so.2
/usr/bin/makedb
/usr/lib/.build-id
/usr/lib/.build-id/3f/c8154f1121e344ee8024b057daeeba380e6ebd
/usr/lib/.build-id/cd/c3b4f9e696014d4d97cc063ed1bd07cbed0fa3
/var/db/Makefile
/lib/libnss_db-2.33.so
/lib/libnss_db.so.2
/usr/bin/makedb
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/837f4ed444df9bc763de9800588f6949cf278e
/usr/lib/.build-id/b1/7f37691cffebd314ce402c9b500af848436900
/var/db/Makefile
/lib64/libnss_db-2.33.so
/lib64/libnss_db.so.2
/usr/bin/makedb
/usr/lib/.build-id
/usr/lib/.build-id/40/7dd776c0b5ec6499b8aac81a77e457fa9f5ff0
/usr/lib/.build-id/b6/d038ec472ae29fe23fd5f2534fed1ac9da67df
/var/db/Makefile
/lib64/libnss_db-2.33.so
/lib64/libnss_db.so.2
/usr/bin/makedb
/usr/lib/.build-id
/usr/lib/.build-id/c6/9f6b8d5ec03dc6e32b63a577ef31f94e1e3962
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/d63183addfeee035a9538fc33be427f98aa920
/var/db/Makefile
References
- [nss_db website](http://www.gnu.org/software/glibc/ http://www.gnu.org/software/glibc/)
Summary
In this tutorial we learn how to install nss_db
on Fedora 34 using yum and dnf.