How To Install libbytesize on CentOS 7

In this tutorial we learn how to install libbytesize on CentOS 7. libbytesize is A library for working with sizes in bytes

Introduction

In this tutorial we learn how to install libbytesize on CentOS 7.

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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libbytesize.

Install libbytesize on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libbytesize using yum by running the following command:

sudo yum -y install libbytesize

Install libbytesize on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libbytesize using dnf by running the following command:

sudo dnf -y install libbytesize

How To Uninstall libbytesize on CentOS 7

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 CentOS 7 using yum and dnf.