How To Install libntirpc on CentOS 7

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

Introduction

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

What is libntirpc

This package contains a new implementation of the original libtirpc, transport-independent RPC (TI-RPC) library for NFS-Ganesha. It has the following features not found in libtirpc 1. Bi-directional operation 2. Full-duplex operation on the TCP (vc) transport 3. Thread-safe operating modes 3.1 new locking primitives and lock callouts (interface change) 3.2 stateless send/recv on the TCP transport (interface change) 4. Flexible server integration support 5. Event channels (remove static arrays of xprt handles, new EPOLL/KEVENT integration)

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

Install libntirpc on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libntirpc

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

sudo dnf -y install libntirpc

How To Uninstall libntirpc on CentOS 7

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

sudo dnf remove libntirpc

References

Summary

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