pkg.soopen package index

brew / 排名 2392

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 libfaketime

查看 libfaketime 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libfaketime

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libfaketime

MacPorts ports tree · sysutils/libfaketime/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libfaketime

Alpine Linux edge package indexes · libfaketime · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install libfaketime

Debian stable package indexes · libfaketime · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install libfaketime

Fedora Rawhide package metadata · libfaketime · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libfaketime

nixpkgs package indexes · pkgs/by-name/li/libfaketime/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libfaketime

Arch Linux sync databases · libfaketime · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install libfaketime

openSUSE Tumbleweed package metadata · libfaketime · 来源: download.opensuse.org

概览

软件包摘要

Report faked system time to programs

命令和别名

  • faketime

历史

项目历史与用法

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.

时间线

  • 0.1: NEWS records initial fixes around time(NULL).
  • 0.2: NEWS records clock_gettime interception.
  • 0.7: NEWS records the wrapper shell script and man page.
  • 0.9.5: Developer README records GitHub as the development and issue-handling home.
  • 2025-06: README identifies version 0.9.12 and NEWS records improved macOS compatibility.

Related projects

  • Related mechanisms include LD_PRELOAD, dyld interposing on macOS, faketimerc files, reproducible-build tooling, test harnesses, and language wrappers around libfaketime.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
faketime可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.9.12
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:libfaketime
版本0.9.12
软件包管理器Homebrew
主页https://github.com/wolfcw/libfaketime
仓库https://github.com/wolfcw/libfaketime
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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 libfaketime
  • Section: libs
  • Architecture: amd64
  • Source Package: faketime
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libfaketime
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfaketime from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libfaketime

nix profile install nixpkgs#libfaketime
  • normalized package name match
  • 匹配方式:Libfaketime
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libfaketime/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libfaketime 0.9.10-2.1

Report faked system time to programs (preload library)

https://github.com/wolfcw/libfaketime

sudo apt install libfaketime
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: faketime
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libfaketime
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfaketime from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libfaketime 0.9.12-r0

intercept system calls related to time and return user-defined values

https://github.com/wolfcw/libfaketime

sudo apk add libfaketime
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libfaketime
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libfaketime
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libfaketime from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libfaketime-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-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libfaketime
  • normalized package name match
  • 匹配方式:Libfaketime
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libfaketime-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libfaketime 0.9.12-14.fc45

Manipulate system time per process for testing purposes

https://github.com/wolfcw/libfaketime

sudo dnf install libfaketime
  • License: GPL-3.0-only AND GPL-2.0-only AND BSD-1-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libfaketime
  • 5 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Libfaketime
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libfaketime from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

libfaketime 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 libfaketime
  • License: GPL2
  • Architecture: x86_64
  • normalized package name match
  • 匹配方式:Libfaketime
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libfaketime from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libfaketime 0.9.12-2.3

FakeTime Preload Library

https://github.com/wolfcw/libfaketime

sudo zypper install libfaketime
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libfaketime
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Libfaketime
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libfaketime from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

libfaketime

sudo port install libfaketime
  • normalized package name match
  • 匹配方式:Libfaketime
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/libfaketime/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

faketime 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 faketime
  • Section: utils
  • Architecture: amd64
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Faketime
Debian stable package indexes · deb.debian.org · Debian stable package indexes: faketime from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

faketime 0.9.10-2.1

Report faked system time to programs (command-line tool)

https://github.com/wolfcw/libfaketime

sudo apt install faketime
  • Section: universe/utils
  • Architecture: amd64
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Faketime
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: faketime from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation