hdate command not found

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

Introduction

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

hdate: command not found

or when using sudo you get the following error message

sudo: hdate: command not found

Solutions to hdate: command not found

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

In Ubuntu hdate is provided by hdate package.

hdate is:

LibHdate is a small C,C++ library for Hebrew dates, holidays, and reading sequence (parasha). It is using the source code from Amos Shapir’s “hdate” package fixed and patched by Nadav Har’El. The Torah reading sequence is from tables by Zvi Har’El.

This package provides the hdate command-line utility.

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

sudo apt-get -y install hdate

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

You can also use apt command to install hdate.

sudo apt -y install hdate

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

sudo aptitude install hdate

Summary

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