hledger-autosync command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hledger-autosync: command not found
or when using sudo you get the following error message
sudo: hledger-autosync: command not found
Solutions to hledger-autosync: command not found
How To Fix hledger-autosync: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hledger-autosync is provided by ledger-autosync package.
ledger-autosync is:
ledger-autosync is a program to pull down transactions from your bank and create ledger transactions for them. It is designed to only create transactions that are not already present in your ledger files. This should make it comparable to some of the automated synchronization features available in products like GnuCash, Mint, etc.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ledger-autosync
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ledger-autosync.
sudo apt -y install ledger-autosync
Or if you have aptitude installed you can use the following command.
sudo aptitude install ledger-autosync
Summary
In this tutorial we learn how to fix hledger-autosync command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.