How To Install libutempter.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libutempter.x86_64 in Amazon Linux 2. libutempter.x86_64 is A privileged helper for utmp/wtmp updates

Introduction

In this tutorial we learn how to install libutempter.x86_64 on Amazon Linux 2.

What is libutempter.x86_64

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 to install libutempter.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libutempter.x86_64.

Install libutempter.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libutempter.x86_64

How To Uninstall libutempter.x86_64 on Amazon Linux 2

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

sudo yum remove libutempter.x86_64

libutempter.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libutempter.so.0
/usr/lib64/libutempter.so.1.1.6
/usr/libexec/utempter
/usr/libexec/utempter/utempter
/usr/share/doc/libutempter-1.1.6
/usr/share/doc/libutempter-1.1.6/COPYING
/usr/share/doc/libutempter-1.1.6/README

References

Summary

In this tutorial we learn how to install libutempter.x86_64 on Amazon Linux 2 using yum.