CallableBonds command not found

In this troubleshooting guide we learn how to fix CallableBonds command not found error message

Introduction

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

CallableBonds: command not found

or when using sudo you get the following error message

sudo: CallableBonds: command not found

Solutions to CallableBonds: command not found

How To Fix CallableBonds: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu CallableBonds is provided by quantlib-examples package.

quantlib-examples 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 provides several example binaries as well as source code.

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

sudo apt-get -y install quantlib-examples

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

You can also use apt command to install quantlib-examples.

sudo apt -y install quantlib-examples

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

sudo aptitude install quantlib-examples

Summary

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