macOS
brew install fakerootlocal Homebrew formula metadata
sudo port install fakerootMacPorts ports tree · sysutils/fakeroot/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de fakeroot pour les workflows d'agents IA.
installation
brew install fakerootlocal Homebrew formula metadata
sudo port install fakerootMacPorts ports tree · sysutils/fakeroot/Portfile · Source: api.github.com
sudo apk add fakerootAlpine Linux edge package indexes · fakeroot · Source: dl-cdn.alpinelinux.org
sudo apt install fakerootDebian stable package indexes · fakeroot · Source: deb.debian.org
sudo dnf install fakerootFedora Rawhide package metadata · fakeroot · Source: dl.fedoraproject.org
nix profile install nixpkgs#fakerootnixpkgs package indexes · pkgs/by-name/fa/fakeroot/package.nix · Source: api.github.com
sudo pacman -S fakerootArch Linux sync databases · fakeroot · Source: geo.mirror.pkgbuild.com
sudo zypper install fakerootopenSUSE Tumbleweed package metadata · fakeroot · Source: download.opensuse.org
aperçu
Provide a fake root environment
historique
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.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour fakeroot. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
faked | cli | exécutable global | |
fakeroot | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://tracker.debian.org/pkg/fakeroot
métadonnées d'installation
| Clé du paquet | brew:fakeroot |
|---|---|
| Version | 1.38.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/fakeroot |
| Page d'accueil | https://tracker.debian.org/pkg/fakeroot |
| Dépôt | https://salsa.debian.org/clint/fakeroot |
| Docs amont | https://manpages.debian.org/fakeroot |
| Licence | GPL-3.0-or-later |
| Archive source | https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.38.1.orig.tar.gz |
| Dernière mise à jour | 2026-05-21T04:00:18Z |
| Pulse | updated |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 fakerootpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.