libbytesize-2.12

Introduction to libbytesize

The libbytesize package is a library which facilitates the common operations with sizes in bytes.

[Note]

Note

This version of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable version of the System V books.

Package Information

libbytesize Dependencies

Required

Pygments-2.19.2

Optional

GTK-Doc-1.35.1, pocketlint (python module for one test), and polib (python module for one test)

Installation of libbytesize

Install libbytesize by running the following commands:

./configure --prefix=/usr &&
make

If you have the optional python modules installed, the regression tests can be run with: make check.

Now, as the root user:

make install

Contents

Installed Programs: bscalc
Installed Library: libbytesize.so
Installed Directories: /usr/include/bytesize and /usr/lib/python3.14/site-packages/bytesize

Short Descriptions

bscalc

converts from a larger unit, such as MB or TB, back to a value in bytes

libbytesize.so

contains functions used to handle common read/write operations with sizes in bytes