How To Install libident on CentOS 7

In this tutorial we learn how to install libident on CentOS 7. libident is New LibIdent C library

Introduction

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

What is libident

LibIdent is a small C library for interfacing with RFC 1413 Identification protocol servers, which are used for identifying users. LibIdent supports both IPv4 and IPv6 addresses transparently. It is meant to be used by daemons to try to authenticate users using the Ident protocol. For this to work, users need to have an Ident server running on the system from which they are connected.

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

Install libident on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libident

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

sudo dnf -y install libident

How To Uninstall libident on CentOS 7

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

sudo dnf remove libident

References

Summary

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