libbytesize-2.12

#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-517

### Chapter 9. General Libraries

- Prev

  libblockdev-3.5.0

- Next

  libclc-22.1.0

- Up
- Home

# libbytesize-2.12

## Introduction to libbytesize

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

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://github.com/storaged-project/libbytesize/releases/download/2.12/libbytesize-2.12.tar.gz

- Download MD5 sum: 5314b773b20d1f3acdf3b2bf0c92549f

- Download size: 464 KB

- Estimated disk space required: 3.6 MB

- Estimated build time: less than 0.1 SBU (including tests)

### libbytesize Dependencies

#### Required

Pygments-2.20.0

#### Optional

GTK-Doc-1.36.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

- Prev

  libblockdev-3.5.0

- Next

  libclc-22.1.0

- Up
- Home