How To Install libbytesize on Fedora 34

libbytesize is A library for working with sizes in bytes A library for working with sizes in bytes

Introduction

In this tutorial we learn how to install libbytesize on Fedora 34.

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. libbytesize 2.6 1.fc34 x86_64 40 k libbytesize-2.6-1.fc34.src.rpm updates A library for working with sizes in bytes https LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libbytesize.

Install libbytesize on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libbytesize

Install libbytesize on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libbytesize

libbytesize Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/c5ea5f70bbf9dc3d8f39a3afd4455b07e7764a
/usr/lib64/libbytesize.so.1
/usr/lib64/libbytesize.so.1.0.0
/usr/share/doc/libbytesize
/usr/share/doc/libbytesize/README.md
/usr/share/licenses/libbytesize
/usr/share/licenses/libbytesize/LICENSE
/usr/share/locale/ast/LC_MESSAGES/libbytesize.mo
/usr/share/locale/be/LC_MESSAGES/libbytesize.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ca/LC_MESSAGES/libbytesize.mo
/usr/share/locale/cs/LC_MESSAGES/libbytesize.mo
/usr/share/locale/da/LC_MESSAGES/libbytesize.mo
/usr/share/locale/de/LC_MESSAGES/libbytesize.mo
/usr/share/locale/es/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fi/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fr/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fur/LC_MESSAGES/libbytesize.mo
/usr/share/locale/he/LC_MESSAGES/libbytesize.mo
/usr/share/locale/hu/LC_MESSAGES/libbytesize.mo
/usr/share/locale/id/LC_MESSAGES/libbytesize.mo
/usr/share/locale/it/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ko/LC_MESSAGES/libbytesize.mo
/usr/share/locale/nl/LC_MESSAGES/libbytesize.mo
/usr/share/locale/nn/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pl/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pt/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ru/LC_MESSAGES/libbytesize.mo
/usr/share/locale/si/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sk/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sq/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sv/LC_MESSAGES/libbytesize.mo
/usr/share/locale/tr/LC_MESSAGES/libbytesize.mo
/usr/share/locale/uk/LC_MESSAGES/libbytesize.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libbytesize.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libbytesize.mo
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/0ecd7de4f4e290e7eed3c17900acdb97c60e9a
/usr/lib/libbytesize.so.1
/usr/lib/libbytesize.so.1.0.0
/usr/share/doc/libbytesize
/usr/share/doc/libbytesize/README.md
/usr/share/licenses/libbytesize
/usr/share/licenses/libbytesize/LICENSE
/usr/share/locale/ast/LC_MESSAGES/libbytesize.mo
/usr/share/locale/be/LC_MESSAGES/libbytesize.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ca/LC_MESSAGES/libbytesize.mo
/usr/share/locale/cs/LC_MESSAGES/libbytesize.mo
/usr/share/locale/da/LC_MESSAGES/libbytesize.mo
/usr/share/locale/de/LC_MESSAGES/libbytesize.mo
/usr/share/locale/es/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fi/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fr/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fur/LC_MESSAGES/libbytesize.mo
/usr/share/locale/he/LC_MESSAGES/libbytesize.mo
/usr/share/locale/hu/LC_MESSAGES/libbytesize.mo
/usr/share/locale/id/LC_MESSAGES/libbytesize.mo
/usr/share/locale/it/LC_MESSAGES/libbytesize.mo
/usr/share/locale/nl/LC_MESSAGES/libbytesize.mo
/usr/share/locale/nn/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pl/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pt/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ru/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sk/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sq/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sv/LC_MESSAGES/libbytesize.mo
/usr/share/locale/tr/LC_MESSAGES/libbytesize.mo
/usr/share/locale/uk/LC_MESSAGES/libbytesize.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libbytesize.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libbytesize.mo
/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/cf1e35371556f52a7dc60738def3383d0452c8
/usr/lib/libbytesize.so.1
/usr/lib/libbytesize.so.1.0.0
/usr/share/doc/libbytesize
/usr/share/doc/libbytesize/README.md
/usr/share/licenses/libbytesize
/usr/share/licenses/libbytesize/LICENSE
/usr/share/locale/ast/LC_MESSAGES/libbytesize.mo
/usr/share/locale/be/LC_MESSAGES/libbytesize.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ca/LC_MESSAGES/libbytesize.mo
/usr/share/locale/cs/LC_MESSAGES/libbytesize.mo
/usr/share/locale/da/LC_MESSAGES/libbytesize.mo
/usr/share/locale/de/LC_MESSAGES/libbytesize.mo
/usr/share/locale/es/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fi/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fr/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fur/LC_MESSAGES/libbytesize.mo
/usr/share/locale/he/LC_MESSAGES/libbytesize.mo
/usr/share/locale/hu/LC_MESSAGES/libbytesize.mo
/usr/share/locale/id/LC_MESSAGES/libbytesize.mo
/usr/share/locale/it/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ko/LC_MESSAGES/libbytesize.mo
/usr/share/locale/nl/LC_MESSAGES/libbytesize.mo
/usr/share/locale/nn/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pl/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pt/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ru/LC_MESSAGES/libbytesize.mo
/usr/share/locale/si/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sk/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sq/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sv/LC_MESSAGES/libbytesize.mo
/usr/share/locale/tr/LC_MESSAGES/libbytesize.mo
/usr/share/locale/uk/LC_MESSAGES/libbytesize.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libbytesize.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libbytesize.mo
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/f3a3cdb61ad5f60b83486c89521b14dc3e7f2a
/usr/lib64/libbytesize.so.1
/usr/lib64/libbytesize.so.1.0.0
/usr/share/doc/libbytesize
/usr/share/doc/libbytesize/README.md
/usr/share/licenses/libbytesize
/usr/share/licenses/libbytesize/LICENSE
/usr/share/locale/ast/LC_MESSAGES/libbytesize.mo
/usr/share/locale/be/LC_MESSAGES/libbytesize.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ca/LC_MESSAGES/libbytesize.mo
/usr/share/locale/cs/LC_MESSAGES/libbytesize.mo
/usr/share/locale/da/LC_MESSAGES/libbytesize.mo
/usr/share/locale/de/LC_MESSAGES/libbytesize.mo
/usr/share/locale/es/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fi/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fr/LC_MESSAGES/libbytesize.mo
/usr/share/locale/fur/LC_MESSAGES/libbytesize.mo
/usr/share/locale/he/LC_MESSAGES/libbytesize.mo
/usr/share/locale/hu/LC_MESSAGES/libbytesize.mo
/usr/share/locale/id/LC_MESSAGES/libbytesize.mo
/usr/share/locale/it/LC_MESSAGES/libbytesize.mo
/usr/share/locale/nl/LC_MESSAGES/libbytesize.mo
/usr/share/locale/nn/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pl/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pt/LC_MESSAGES/libbytesize.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libbytesize.mo
/usr/share/locale/ru/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sk/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sq/LC_MESSAGES/libbytesize.mo
/usr/share/locale/sv/LC_MESSAGES/libbytesize.mo
/usr/share/locale/tr/LC_MESSAGES/libbytesize.mo
/usr/share/locale/uk/LC_MESSAGES/libbytesize.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libbytesize.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libbytesize.mo

References

Summary

In this tutorial we learn how to install libbytesize on Fedora 34 using yum and dnf.