macOS
brew install fakerootlocal Homebrew formula metadata
sudo port install fakerootMacPorts ports tree · sysutils/fakeroot/Portfile · ソース: api.github.com
brew
fakeroot のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install fakerootlocal Homebrew formula metadata
sudo port install fakerootMacPorts ports tree · sysutils/fakeroot/Portfile · ソース: api.github.com
sudo apk add fakerootAlpine Linux edge package indexes · fakeroot · ソース: dl-cdn.alpinelinux.org
sudo apt install fakerootDebian stable package indexes · fakeroot · ソース: deb.debian.org
sudo dnf install fakerootFedora Rawhide package metadata · fakeroot · ソース: dl.fedoraproject.org
nix profile install nixpkgs#fakerootnixpkgs package indexes · pkgs/by-name/fa/fakeroot/package.nix · ソース: api.github.com
sudo pacman -S fakerootArch Linux sync databases · fakeroot · ソース: geo.mirror.pkgbuild.com
sudo zypper install fakerootopenSUSE Tumbleweed package metadata · fakeroot · ソース: download.opensuse.org
概要
Provide a fake root environment
履歴
fakeroot runs a command in an environment where file manipulation appears to happen with root privileges, without granting real root access. It is a core packaging utility because archives can be built with root-looking ownership, permissions, and device metadata by unprivileged users.
fakeroot entered Debian in June 1997 as a tool by Joost Witteveen. Early changelog entries show it rapidly gaining wrappers for chown, chmod, stat, mkdir, rename, and related calls, plus IPC handling and tests needed to make dpkg-buildpackage -rfakeroot reliable.
The manpage explains the central implementation: fakeroot replaces selected file-manipulation library functions with wrappers loaded through LD_PRELOAD, while the faked daemon preserves the fake ownership and permission view. The design intentionally avoids wrapping some calls such as open() because too many libc interactions would create fragile loops and portability problems.
Over time fakeroot became maintained as a Debian project package, with authors and contributors including Joost Witteveen, Clint Adams, Timo Savola, Regis Duchesne, Mikhail Gusarov, J.H.M. Dassen for the manual page, and Kyle J. McKay for OS X support. The current Salsa repository tracks ongoing fixes for libc, architecture, translation, xattr, time64, and cross-build behavior.
fakeroot was specifically written to enable users to create Debian packages without root privileges. The manpage documents dpkg-buildpackage -rfakeroot and debuild -rfakeroot as normal workflows, and notes that debuild defaults to fakeroot in modern usage.
Its adoption spread beyond Debian because the problem is generic to Unix packaging: package builds often need archive metadata to say root:root even though the build user should not be root. The package-manager list in the input shows fakeroot packaged across APK, Homebrew, Debian, Fedora/DNF, MacPorts, Nix, Arch/pacman, Ubuntu, and openSUSE/zypper ecosystems.
Typical use wraps only the packaging or archive-creation phase, not the configure or binary build phase. The manpage warns that configure-style probes can get confused when fakeroot changes apparent system behavior, and recommends letting Debian build targets call fakeroot at the correct stage.
fakeroot is also useful for tar, ar, .deb, backup, and restore workflows that need root-looking ownership or device information in an archive. Its -s and -i options can save and reload a fakeroot environment, with documented caveats about touching files outside the saved fake view.
fakeroot matters because it helped make unprivileged package builds routine. Before tools like fakeroot, a packager either needed real root privileges to create files with root ownership before archiving, or had to construct archive metadata directly.
It is also an instructive Unix packaging artifact: small, sharp, LD_PRELOAD-based, explicitly non-setuid, and honest about its limitations. Distribution maintainers care about it because subtle libc, stat, xattr, and architecture changes can affect whether huge portions of a packaging ecosystem build reproducibly without privilege.
セキュリティ状態
fakeroot に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
faked | cli | グローバル実行可能ファイル | |
fakeroot | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://tracker.debian.org/pkg/fakeroot
インストールメタデータ
| パッケージキー | brew:fakeroot |
|---|---|
| バージョン | 1.38.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/fakeroot |
| ホームページ | https://tracker.debian.org/pkg/fakeroot |
| リポジトリ | https://salsa.debian.org/clint/fakeroot |
| 上流ドキュメント | https://manpages.debian.org/fakeroot |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.38.1.orig.tar.gz |
| 最終更新 | 2026-05-21T04:00:18Z |
| Pulse | updated |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fakeroot |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
fakeroot 1.37.1.1-1
tool for simulating superuser privileges
sudo apt install fakerootlibfakeroot 1.37.1.1-1
tool for simulating superuser privileges - shared libraries
sudo apt install libfakerootfakeroot
nix profile install nixpkgs#fakerootfakeroot 1.33-1
tool for simulating superuser privileges
sudo apt install fakerootlibfakeroot 1.33-1
tool for simulating superuser privileges - shared libraries
sudo apt install libfakerootfakeroot 1.37.2-r0
Gives a fake root environment, useful for building packages as a non-privileged user
https://packages.debian.org/fakeroot
sudo apk add fakerootfakeroot-dbg 1.37.2-r0
Gives a fake root environment, useful for building packages as a non-privileged user (debug symbols)
https://packages.debian.org/fakeroot
sudo apk add fakeroot-dbgfakeroot-doc 1.37.2-r0
Gives a fake root environment, useful for building packages as a non-privileged user (documentation)
https://packages.debian.org/fakeroot
sudo apk add fakeroot-docfakeroot 1.37.1-4.fc44
Gives a fake root environment
https://tracker.debian.org/pkg/fakeroot
sudo dnf install fakerootfakeroot-libs 1.37.1-4.fc44
Gives a fake root environment (libraries)
https://tracker.debian.org/pkg/fakeroot
sudo dnf install fakeroot-libsfakeroot 1:1.37.2-1
Tool for simulating superuser privileges
https://tracker.debian.org/pkg/fakeroot
sudo pacman -S fakerootfakeroot 1.38-1.1
Wrapper that gives a fake root environment
https://tracker.debian.org/pkg/fakeroot
sudo zypper install fakerootfakeroot
sudo port install fakerootソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.