datefudge command not found

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

Introduction

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

datefudge: command not found

or when using sudo you get the following error message

sudo: datefudge: command not found

Solutions to datefudge: command not found

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

In Ubuntu datefudge is provided by datefudge package.

datefudge is:

This program (and preload library) fakes the system date so that programs think the wall clock is … different.

The faking is not complete; timestamp on files are not affected in any way.

This package is useful if you want to test the date handling of your programs without changing the system clock. Examples: Does it handle expired certificates correctly? Does it work on a leap day?

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

sudo apt-get -y install datefudge

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

You can also use apt command to install datefudge.

sudo apt -y install datefudge

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

sudo aptitude install datefudge

Summary

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