How To Install libtirpc on CentOS 7

In this tutorial we learn how to install libtirpc on CentOS 7. libtirpc is Transport Independent RPC Library

Introduction

In this tutorial we learn how to install libtirpc on CentOS 7.

What is libtirpc

This package contains SunLib’s implementation of transport-independent RPC (TI-RPC) documentation. This library forms a piece of the base of Open Network Computing (ONC), and is derived directly from the Solaris 2.3 source. TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported by almost 70 vendors on all major operating systems. TS-RPC source code (RPCSRC 4.0) remains available from several internet sites. This package contains SunLib’s implementation of transport-independent RPC (TI-RPC) documentation. This library forms a piece of the base of Open Network Computing (ONC), and is derived directly from the Solaris 2.3 source. TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported by almost 70 vendors on all major operating systems. TS-RPC source code (RPCSRC 4.0) remains available from several internet sites.

We can use yum or dnf to install libtirpc on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libtirpc.

Install libtirpc on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libtirpc

Install libtirpc on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libtirpc

How To Uninstall libtirpc on CentOS 7

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

sudo dnf remove libtirpc

References

Summary

In this tutorial we learn how to install libtirpc on CentOS 7 using yum and dnf.