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 12.1 platform.

Package Information

libqalculate Dependencies


cURL-8.6.0, ICU-74.2, and libxml2-2.12.5


Doxygen-1.10.0 and gnuplot

Installation of libqalculate

Install libqalculate by running the following commands:

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

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-74.2. Such a reference may cause packages depending on this package to be unnecessary linked against the ICU libraries and increase the burden to rebuild 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/

Command Explanations

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


Installed Programs: qalc
Installed Library:
Installed Directories: /usr/include/libqalculate, /usr/share/doc/libqalculate-4.9.0, and /usr/share/qalculate

Short Descriptions


is a powerful and easy to use command line calculator

contains the libqalculate API functions