hledger-web command not found

In this troubleshooting guide we learn how to fix hledger-web command not found error message

Introduction

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

hledger-web: command not found

or when using sudo you get the following error message

sudo: hledger-web: command not found

Solutions to hledger-web: command not found

How To Fix hledger-web: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu hledger-web is provided by hledger-web package.

hledger-web is:

hledger is a haskell port and friendly fork of John Wiegley’s ledger accounting tool. This package provides a web interface as an alternative to the hledger command line interface.

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

sudo apt-get -y install hledger-web

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

You can also use apt command to install hledger-web.

sudo apt -y install hledger-web

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

sudo aptitude install hledger-web

Summary

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