quantlib-test-suite command not found

In this troubleshooting guide we learn how to fix quantlib-test-suite command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

quantlib-test-suite: command not found

or when using sudo you get the following error message

sudo: quantlib-test-suite: command not found

Solutions to quantlib-test-suite: command not found

How To Fix quantlib-test-suite: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu quantlib-test-suite is provided by libquantlib0-dev package.

libquantlib0-dev is:

The QuantLib project aims to provide a comprehensive software framework for quantitative finance. The goal is to provide a standard free/open source library to quantitative analysts and developers for modeling, trading, and risk management of financial assets.

This package contains the header files, static libraries and symbolic links that developers using QuantLib will need.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libquantlib0-dev

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libquantlib0-dev.

sudo apt -y install libquantlib0-dev

Or if you have aptitude installed you can use the following command.

sudo aptitude install libquantlib0-dev

Summary

In this tutorial we learn how to fix quantlib-test-suite command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.