macOS
brew install libfaketimelocal Homebrew formula metadata
sudo port install libfaketimeMacPorts ports tree · sysutils/libfaketime/Portfile · source: api.github.com
brew / rank 2392
Report faked system time to programs. Version 0.9.12 via Homebrew; verified from local package data. Also installable with debian: sudo apt install libfaketime.
install
brew install libfaketimelocal Homebrew formula metadata
sudo port install libfaketimeMacPorts ports tree · sysutils/libfaketime/Portfile · source: api.github.com
sudo apk add libfaketimeAlpine Linux edge package indexes · libfaketime · source: dl-cdn.alpinelinux.org
sudo apt install libfaketimeDebian stable package indexes · libfaketime · source: deb.debian.org
sudo dnf install libfaketimeFedora Rawhide package metadata · libfaketime · source: dl.fedoraproject.org
nix profile install nixpkgs#libfaketimenixpkgs package indexes · pkgs/by-name/li/libfaketime/package.nix · source: api.github.com
sudo pacman -S libfaketimeArch Linux sync databases · libfaketime · source: geo.mirror.pkgbuild.com
sudo zypper install libfaketimeopenSUSE Tumbleweed package metadata · libfaketime · source: download.opensuse.org
overview
Report faked system time to programs
history
libfaketime is a preload-based library and faketime wrapper that makes selected programs see modified dates and times without changing the system clock. It is packaged as a developer/testing utility because it exercises time-sensitive code at the process boundary.
The project's NEWS file tracks changes back to version 0.1, beginning with fixes around time(NULL) and growing through clock_gettime interception, wrapper scripts, fractional offsets, speed changes, system-wide faketimerc files, macOS support, pthread-aware builds, deterministic time, and deterministic getrandom support.
Starting with libfaketime 0.9.5, the developer README says development and issue handling moved completely to GitHub, with official releases tagged there.
Package managers adopted libfaketime because it solves a practical test problem: run one process under a fake clock while leaving the host clock alone. The README names deterministic builds, expired-certificate debugging, and year-2038 testing as intended use cases.
Most users run the faketime wrapper or set preload-related environment variables directly. The README also documents important limits: statically linked and setuid binaries are not covered by the preload mechanism, some Java/JVM cases need monotonic-clock care, and programs that dynamically load timing libraries can bypass interception.
libfaketime is beloved packaging glue because it gives build systems and test suites a cheap fake clock without patching application code. That makes it useful for reproducible builds, certificate-expiry tests, date rollover tests, and awkward legacy software checks.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
faketime | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:libfaketime |
|---|---|
| Version | 0.9.12 |
| Package manager | Homebrew |
| Homepage | https://github.com/wolfcw/libfaketime |
| Repository | https://github.com/wolfcw/libfaketime |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libfaketime 0.9.10+2024-06-05+gba9ed5b2-0.6
Report faked system time to programs (preload library)
https://github.com/wolfcw/libfaketime
sudo apt install libfaketimelibfaketime
nix profile install nixpkgs#libfaketimelibfaketime 0.9.10-2.1
Report faked system time to programs (preload library)
https://github.com/wolfcw/libfaketime
sudo apt install libfaketimelibfaketime 0.9.12-r0
intercept system calls related to time and return user-defined values
https://github.com/wolfcw/libfaketime
sudo apk add libfaketimelibfaketime-doc 0.9.12-r0
intercept system calls related to time and return user-defined values (documentation)
https://github.com/wolfcw/libfaketime
sudo apk add libfaketime-doclibfaketime 0.9.12-14.fc45
Manipulate system time per process for testing purposes
https://github.com/wolfcw/libfaketime
sudo dnf install libfaketimelibfaketime 0.9.12-1
Report fake dates and times to programs without having to change the system-wide time.
https://github.com/wolfcw/libfaketime
sudo pacman -S libfaketimelibfaketime 0.9.12-2.3
FakeTime Preload Library
https://github.com/wolfcw/libfaketime
sudo zypper install libfaketimelibfaketime
sudo port install libfaketimefaketime 0.9.10+2024-06-05+gba9ed5b2-0.6
Report faked system time to programs (command-line tool)
https://github.com/wolfcw/libfaketime
sudo apt install faketimefaketime 0.9.10-2.1
Report faked system time to programs (command-line tool)
https://github.com/wolfcw/libfaketime
sudo apt install faketimesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.