libqalculate-5.12.0

#### Beyond Linux® From Scratch (System V Edition) - Version r13.1-84

### Chapter 9. General Libraries

- Prev

  libptytty-2.0

- Next

  libqmi-1.38.0

- Up
- Home

# libqalculate-5.12.0

## Introduction to libqalculate

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

### 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/Qalculate/libqalculate/releases/download/v5.12.0/libqalculate-5.12.0.tar.gz

- Download MD5 sum: 46f93f638b6ce747f17dba955f95c9cf

- Download size: 3.5 MB

- Estimated disk space required: 240 MB (with tests)

- Estimated build time: 0.6 SBU (With tests; both using parallelism=8)

### libqalculate Dependencies

#### Required

cURL-8.22.0, ICU-78.3, and libxml2-2.15.4

#### Optional

Doxygen-1.18.0 and gnuplot

## Installation of libqalculate

Install libqalculate by running the following commands:

    ./configure --prefix=/usr    \
                --disable-static \
                --docdir=/usr/share/doc/libqalculate-5.12.0 &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

The libtool archive file from this package is referring to the libraries from ICU-78.3. Such a reference may cause packages depending on this package to be unnecessary linked against the ICU libraries, and this can increase the burden of rebuilding packages if ICU is updated to a new major version. As we've explained in Libtool archive (.la) files, these libtool archive files are unneeded anyway. So as the `root` user, remove the libtool archive file now:

    rm -v /usr/lib/libqalculate.la

## 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, /usr/share/doc/libqalculate-5.12.0, and /usr/share/qalculate

### Short Descriptions

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

- Prev

  libptytty-2.0

- Next

  libqmi-1.38.0

- Up
- Home