libbytesize-2.4

Introduction to libbytesize

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

This package is known to build and work properly using an LFS-10.0 platform.

Package Information

libbytesize Dependencies

Required

pcre2-10.35 and Pygments-2.6.1

Optional

GTK-Doc-1.32, six-1.15.0 (needed for tests and python bindings), pocketlint (python module for one test), and polib (python module for one test)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libbytesize

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, /usr/share/gtk-doc/html/libbytesize, and /usr/lib/python3.8/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.

Last updated on 2020-08-16 21:26:53 -0700