How To Install libutempter on Rocky Linux 8

In this tutorial we learn how to install libutempter on Rocky Linux 8. libutempter is A privileged helper for utmp/wtmp updates

Introduction

In this tutorial we learn how to install libutempter on Rocky Linux 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.

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

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

sudo dnf -y install libutempter

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

sudo yum -y install libutempter

How To Uninstall libutempter on Rocky Linux 8

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

sudo dnf remove libutempter

libutempter Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/2c70e9b05dfabf2d86e1a68fb6fa2f3a12950a
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/9dcd6a89b7d57c6e59a2657453a5e1121cb08b
/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
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/d1ffc5dcbb7abb02c56454bc4e2bbff4e3268b
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/d4fe48b074a754fca1f347848796e698e1d8ed
/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

References

Summary

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