How to Install libfaketime in Ubuntu 18.04



Install libfaketime by entering the following commands in the terminal:

sudo apt update
sudo apt install libfaketime

Description:

Report faked system time to programs (preload library)

The Fake Time Preload Library (FTPL, a.k.a. libfaketime) intercepts various system calls which programs use to retrieve the current date and time. It can then report faked dates and times (as specified by you, the user) to these programs. This means you can modify the system time a program sees without having to change the time system-wide. FTPL allows you to specify both absolute dates (e.g., 2004-01-01) and relative dates (e.g., 10 days ago). . This package contains the LD_PRELOAD library for faketime.

Homepage: https://github.com/wolfcw/libfaketime

Version: 0.9.7-2

Section: universe/utils