How To Install nss_nis on Fedora 34
Introduction
In this tutorial we learn how to install nss_nis
on Fedora 34.
What is nss_nis
The nss_nis Name Service Switch module uses the Network Information System (NIS) to obtain user, group, host name, and other data. nss_nis 3.1 8.fc34 x86_64 42 k nss_nis-3.1-8.fc34.src.rpm fedora Name Service Switch (NSS) module using NIS https LGPLv2+ The nss_nis Name Service Switch module uses the Network Information System (NIS) to obtain user, group, host name, and other data.
We can use yum
or dnf
to install nss_nis
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nss_nis.
Install nss_nis 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_nis
using dnf
by running the following command:
sudo dnf -y install nss_nis
Install nss_nis 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_nis
using yum
by running the following command:
sudo yum -y install nss_nis
How To Uninstall nss_nis on Fedora 34
To uninstall only the nss_nis
package we can use the following command:
sudo dnf remove nss_nis
nss_nis Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/4fc9d301c75974c9ce907eaad6b6824dc64546
/usr/lib/libnss_nis.so.2
/usr/lib/libnss_nis.so.2.0.0
/usr/lib/systemd/system/systemd-logind.service.d/nss_nis.conf
/usr/lib/systemd/system/systemd-userdbd.service.d/nss_nis.conf
/usr/share/licenses/nss_nis
/usr/share/licenses/nss_nis/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/a42455be2c756b972d2e01622e3b07972ec2d9
/usr/lib/systemd/system/systemd-logind.service.d/nss_nis.conf
/usr/lib/systemd/system/systemd-userdbd.service.d/nss_nis.conf
/usr/lib64/libnss_nis.so.2
/usr/lib64/libnss_nis.so.2.0.0
/usr/share/licenses/nss_nis
/usr/share/licenses/nss_nis/COPYING
References
- [nss_nis website](https://github.com/thkukuk/libnss_nis https://github.com/thkukuk/libnss_nis)
Summary
In this tutorial we learn how to install nss_nis
on Fedora 34 using yum and dnf.