How To Install util-linux-user on Rocky Linux 8

In this tutorial we learn how to install util-linux-user on Rocky Linux 8. util-linux-user is libuser based util-linux utilities

Introduction

In this tutorial we learn how to install util-linux-user on Rocky Linux 8.

What is util-linux-user

chfn and chsh utilities with dependence on libuser

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

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

sudo dnf -y install util-linux-user

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

sudo yum -y install util-linux-user

How To Uninstall util-linux-user on Rocky Linux 8

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

sudo dnf remove util-linux-user

util-linux-user Package Contents on Rocky Linux 8

/etc/pam.d/chfn
/etc/pam.d/chsh
/usr/bin/chfn
/usr/bin/chsh
/usr/lib/.build-id
/usr/lib/.build-id/b6/0d6a0e7fc37ace5d5f4941de8552426991e6da
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/62ae7bdc8cd3a324bb5c774860e0d9f973a25f
/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 on Rocky Linux 8 using yum and dnf.