dhamma command not found

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

Introduction

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

dhamma: command not found

or when using sudo you get the following error message

sudo: dhamma: command not found

Solutions to dhamma: command not found

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

In Ubuntu dhamma is provided by display-dhammapada package.

display-dhammapada is:

This program displays a random verse from the English or Polish translations of the Dhammapada, a “versified Buddhist scripture traditionally ascribed to the Buddha himself” (from http://en.wikipedia.org/wiki/Dhammapada).

As this program works similarly to fortune, one may use it in shell profiles or .sig generators, among others.

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

sudo apt-get -y install display-dhammapada

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

You can also use apt command to install display-dhammapada.

sudo apt -y install display-dhammapada

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

sudo aptitude install display-dhammapada

Summary

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