How To Install libbytesize on AlmaLinux 8

In this tutorial we learn how to install libbytesize in AlmaLinux 8. libbytesize is A library for working with sizes in bytes

Introduction

In this tutorial we learn how to install libbytesize on AlmaLinux 8.

What is libbytesize

The libbytesize is a C library that facilitates work with sizes in bytes. Be it parsing the input from users or producing a nice human readable representation of a size in bytes this library takes localization into account. It also provides support for sizes bigger than MAXUINT64.

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

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

sudo dnf -y install libbytesize

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

sudo yum -y install libbytesize

How To Uninstall libbytesize on AlmaLinux 8

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

sudo dnf remove libbytesize

References

Summary

In this tutorial we learn how to install libbytesize on AlmaLinux 8 using yum and dnf.