How To Install rpcbind on Rocky Linux 8

In this tutorial we learn how to install rpcbind on Rocky Linux 8. rpcbind is Universal Addresses to RPC Program Number Mapper

Introduction

In this tutorial we learn how to install rpcbind on Rocky Linux 8.

What is rpcbind

The rpcbind utility is a server that converts RPC program numbers into universal addresses. It must be running on the host to be able to make RPC calls on a server on that machine.

We can use yum or dnf to install rpcbind on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rpcbind.

Install rpcbind on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rpcbind

Install rpcbind on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rpcbind

How To Uninstall rpcbind on Rocky Linux 8

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

sudo dnf remove rpcbind

rpcbind Package Contents on Rocky Linux 8

/etc/sysconfig/rpcbind
/run/rpcbind
/usr/bin/rpcbind
/usr/bin/rpcinfo
/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/03d6a89b09dc7b1d15e9cbc14933c081e86c67
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/85f1a7eeb9897aa56cfa28eb32e3eee2f7f811
/usr/lib/systemd/system/rpcbind.service
/usr/lib/systemd/system/rpcbind.socket
/usr/lib/tmpfiles.d/rpcbind.conf
/usr/sbin/rpcbind
/usr/sbin/rpcinfo
/usr/share/doc/rpcbind
/usr/share/doc/rpcbind/AUTHORS
/usr/share/doc/rpcbind/ChangeLog
/usr/share/doc/rpcbind/README
/usr/share/man/man8/rpcbind.8.gz
/usr/share/man/man8/rpcinfo.8.gz

References

Summary

In this tutorial we learn how to install rpcbind on Rocky Linux 8 using yum and dnf.