How To Install libutempter on CentOS 8

libutempter is A privileged helper for utmp/wtmp updates A privileged helper for utmp/wtmp updates

Introduction

In this tutorial we learn how to install libutempter on CentOS 8.

What is libutempter

This library provides interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files. libutempter 1.1.6 14.el8 i686 32 k libutempter-1.1.6-14.el8.src.rpm baseos A privileged helper for utmp/wtmp updates ftp LGPLv2+ This library provides interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files.

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

Install libutempter on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install libutempter

Install libutempter on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install libutempter

How To Uninstall libutempter on CentOS 8

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

sudo dnf remove libutempter

libutempter Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/9d01d036b36ab49aa23450dba3d5ea44967026
/usr/lib/.build-id/26/d2f5195167325934805bf52d8f702412239100
/usr/lib64/libutempter.so.0
/usr/lib64/libutempter.so.1.1.6
/usr/libexec/utempter
/usr/libexec/utempter/utempter
/usr/share/doc/libutempter
/usr/share/doc/libutempter/README
/usr/share/licenses/libutempter
/usr/share/licenses/libutempter/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/49c9576c8e37011c68eb5fc8780bd209e430b3
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/5077b4b4aae67ac945d02072cda01f2ef5f5cb
/usr/lib/libutempter.so.0
/usr/lib/libutempter.so.1.1.6
/usr/libexec/utempter
/usr/libexec/utempter/utempter
/usr/share/doc/libutempter
/usr/share/doc/libutempter/README
/usr/share/licenses/libutempter
/usr/share/licenses/libutempter/COPYING

References

Summary

In this tutorial we learn how to install libutempter on CentOS 8 using yum and dnf.