Skip to content

Installing libqalculate from source

Taha Ahmed edited this page Jul 5, 2021 · 2 revisions

In some OS distributions, the provided version of libqalculate may be quite old, cause dependency errors.

E.g. in Ubuntu 18.04 the currently distributed version is 0.9.10-1.

To work around this problem, you should install libqalculate from source, as per the instructions in the project site.

Additionally, since rofi-calc looks for the qalc executable in /usr/bin/qalc you must add a symbolic link from wherever you installed your qalc binary. e.g. sudo ln -s /usr/local/bin/qalc /usr/bin/qalc

A rofi-calc user has contributed an Ansible role that installs libqalculate and rofi-calc from source (assuming rofi is already installed). It comes with no guarantees, and has only been tested on Ubuntu 18.04, but if you're already familiar with playbooks or would like to learn, it should make it easier to install rofi-calc and its dependencies from source.

Clone this wiki locally