How To Install util-linux-user on AlmaLinux 8

In this tutorial we learn how to install util-linux-user in AlmaLinux 8. util-linux-user is libuser based util-linux utilities

Introduction

In this tutorial we learn how to install util-linux-user on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove util-linux-user

References

Summary

In this tutorial we learn how to install util-linux-user on AlmaLinux 8 using yum and dnf.