How To Install yp-tools on Fedora 36

In this tutorial we learn how to install yp-tools in Fedora 36. yp-tools is NIS (or YP) client programs

Introduction

In this tutorial we learn how to install yp-tools on Fedora 36.

What is yp-tools

The Network Information Service (NIS) is a system which provides network information (login names, passwords, home directories, groupinformation) to all of the machines on a network. NIS can enable information) to all of the machines on a network. NIS can enable users to login on any machine on the network, as long as the machine has the NIS client programs running and the user’s password is recorded in the NIS passwd database. NIS was formerly known as Sun Yellow Pages (YP). This package’s NIS implementation is based on FreeBSD’s YP and is a special port for glibc 2.x and libc versions 5.4.21 and later. This package only provides the NIS client programs. In order to use the clients, you’ll need to already have an NIS server running on your network. An NIS server is provided in the ypserv package. Install the yp-tools package if you need NIS client programs for machines on your network. You will also need to install the ypbind package on every machine running NIS client programs. If you need an NIS server, you’ll need to install the ypserv package on one machine on the network.

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

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

sudo dnf -y install yp-tools

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

sudo yum -y install yp-tools

How To Uninstall yp-tools on Fedora 36

To uninstall only the yp-tools package we can use the following command:

sudo dnf remove yp-tools

yp-tools Package Contents on Fedora 36

/usr/bin/ypcat
/usr/bin/ypchfn
/usr/bin/ypchsh
/usr/bin/ypmatch
/usr/bin/yppasswd
/usr/bin/ypwhich
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/3da75fba87a1a18e7a9b57e5093b8d28948b52
/usr/lib/.build-id/19
/usr/lib/.build-id/19/83402474dfa66ffa3a4e560b996d95a10f2bc6
/usr/lib/.build-id/46
/usr/lib/.build-id/46/6f233b2b585f927393e7e428fb63acf7f93d15
/usr/lib/.build-id/46/6f233b2b585f927393e7e428fb63acf7f93d15.1
/usr/lib/.build-id/46/6f233b2b585f927393e7e428fb63acf7f93d15.2
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/47e2c66d3560648282c35f5205d3fc820f85c6
/usr/lib/.build-id/79
/usr/lib/.build-id/79/fb45581fff705ac4332fc5d3484cf198864950
/usr/lib/.build-id/84
/usr/lib/.build-id/84/c912e4a30a0f267e1ff65006a5b025197096a2
/usr/lib/.build-id/91
/usr/lib/.build-id/91/ca54692c90c4cc556838897d81d2b52b1ee568
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/267e015057c22549b6dfffec1594f1e8acc86a
/usr/sbin/yp_dump_binding
/usr/sbin/yppoll
/usr/sbin/ypset
/usr/sbin/yptest
/usr/share/doc/yp-tools
/usr/share/doc/yp-tools/AUTHORS
/usr/share/doc/yp-tools/COPYING
/usr/share/doc/yp-tools/ChangeLog
/usr/share/doc/yp-tools/NEWS
/usr/share/doc/yp-tools/README
/usr/share/doc/yp-tools/THANKS
/usr/share/doc/yp-tools/nsswitch.conf
/usr/share/locale/de/LC_MESSAGES/yp-tools.mo
/usr/share/locale/sv/LC_MESSAGES/yp-tools.mo
/usr/share/man/man1/ypcat.1.gz
/usr/share/man/man1/ypchfn.1.gz
/usr/share/man/man1/ypchsh.1.gz
/usr/share/man/man1/ypmatch.1.gz
/usr/share/man/man1/yppasswd.1.gz
/usr/share/man/man1/ypwhich.1.gz
/usr/share/man/man5/nicknames.5.gz
/usr/share/man/man8/yp_dump_binding.8.gz
/usr/share/man/man8/yppoll.8.gz
/usr/share/man/man8/ypset.8.gz
/var/yp/nicknames

References

Summary

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