#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 9. General Libraries

- Prev

  libptytty-2.0

- Next

  libqmi-1.30.4

- Up
- Home

# libqalculate-4.0.0

## Introduction to libqalculate

The libqalculate package contains a library that provides functions for a multi-purpose calculator.

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

### Package Information

- Download (HTTP): https://github.com/Qalculate/libqalculate/releases/download/v4.0.0/libqalculate-4.0.0.tar.gz

- Download MD5 sum: 5dc4cc1ab8f4dda650b64e234d330cc9

- Download size: 2.1 MB

- Estimated disk space required: 117 MB (add 4 MB for tests)

- Estimated build time: 0.7 SBU (Using parallelism=4; add 0.1 SBU for tests)

### libqalculate Dependencies

#### Required

cURL-7.81.0 and libxml2-2.9.13

#### Optional

Doxygen-1.9.3

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libqalculate

## Installation of libqalculate

Install libqalculate by running the following commands:

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

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: qalc
Installed Library: libqalculate.so
Installed Directories: /usr/include/libqalculate and /usr/share/qalculate

### Short Descriptions

qalc | is a powerful and easy to use command line calculator
`libqalculate.so` | contains the libqalculate API functions

Last updated on

- Prev

  libptytty-2.0

- Next

  libqmi-1.30.4

- Up
- Home