hledger-ui command not found

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

Introduction

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

hledger-ui: command not found

or when using sudo you get the following error message

sudo: hledger-ui: command not found

Solutions to hledger-ui: command not found

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

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

hledger-ui is:

This is hledger’s curses-style interface. It is simpler and more convenient for browsing data than the command-line interface, but lighter and faster than hledger-web.

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

sudo apt-get -y install hledger-ui

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

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

sudo apt -y install hledger-ui

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

sudo aptitude install hledger-ui

Summary

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