How To Install util-linux-user.x86_64 on Amazon Linux 2

In this tutorial we learn how to install util-linux-user.x86_64 in Amazon Linux 2. util-linux-user.x86_64 is libuser based util-linux utilities

Introduction

In this tutorial we learn how to install util-linux-user.x86_64 on Amazon Linux 2.

What is util-linux-user.x86_64

chfn and chsh utilities with dependence on libuser

We can use yum to install util-linux-user.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install util-linux-user.x86_64.

Install util-linux-user.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 util-linux-user.x86_64 using yum by running the following command:

sudo yum -y install util-linux-user.x86_64

How To Uninstall util-linux-user.x86_64 on Amazon Linux 2

To uninstall only the util-linux-user.x86_64 package we can use the following command:

sudo yum remove util-linux-user.x86_64

util-linux-user.x86_64 Package Contents on Amazon Linux 2

/etc/pam.d/chfn
/etc/pam.d/chsh
/usr/bin/chfn
/usr/bin/chsh
/usr/share/bash-completion/completions/chfn
/usr/share/bash-completion/completions/chsh
/usr/share/man/man1/chfn.1.gz
/usr/share/man/man1/chsh.1.gz

References

Summary

In this tutorial we learn how to install util-linux-user.x86_64 on Amazon Linux 2 using yum.