hledger-interest command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hledger-interest: command not found
or when using sudo you get the following error message
sudo: hledger-interest: command not found
Solutions to hledger-interest: command not found
How To Fix hledger-interest: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hledger-interest is provided by hledger-interest package.
hledger-interest is:
hledger-interest is a small command-line utility based on Simon Michael’s hledger library. Its purpose is to compute interest for a given ledger account. Using command line flags, the program can be configured to use various schemes for day-counting, such as act/act, 30/360, 30E/360, and 30/360isda. Furthermore, it supports a (small) number of interest schemes, i.e. annual interest with a fixed rate and the scheme mandated by the German BGB288 (Basiszins für Verbrauchergeschäfte). Extending support for other schemes is fairly easy, but currently requires changes to the source code.
To fix this problem, we can install more using the command below.
sudo apt-get -y install hledger-interest
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hledger-interest.
sudo apt -y install hledger-interest
Or if you have aptitude installed you can use the following command.
sudo aptitude install hledger-interest
Summary
In this tutorial we learn how to fix hledger-interest command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.