Automic VaultAutomic Vault

brew

fakeroot mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für fakeroot in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install fakeroot

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install fakeroot

MacPorts ports tree · sysutils/fakeroot/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add fakeroot

Alpine Linux edge package indexes · fakeroot · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install fakeroot

Debian stable package indexes · fakeroot · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install fakeroot

Fedora Rawhide package metadata · fakeroot · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#fakeroot

nixpkgs package indexes · pkgs/by-name/fa/fakeroot/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S fakeroot

Arch Linux sync databases · fakeroot · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install fakeroot

openSUSE Tumbleweed package metadata · fakeroot · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Provide a fake root environment

Befehle und Aliase

  • faked
  • fakeroot

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 1997-06: Initial Debian changelog entry for fakeroot 0.0-0.
  • 1997-07: Changelog states dpkg-buildpackage -rfakeroot works reliably and the package was built as non-root.
  • 1997-08: A manpage and additional wrappers/tests are added.
  • 2014: Debian manpage revision documents the modern fakeroot command behavior.
  • 2018: The Debian Salsa repository is created.
  • 2026: fakeroot 1.38.1-1 is uploaded to Debian unstable with xattr and unknown-file handling fixes.

Related projects

  • fakeroot is tightly connected to faked, dpkg-buildpackage, debuild, deb archives, and Debian packaging policy. The manpage also contrasts its intentionally limited wrappers with libtricks-style broader interception.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für fakeroot wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
fakedcliglobales Executable
fakerootcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version1.38.1
Manager aktualisiert2026-05-21
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://tracker.debian.org/pkg/fakeroot

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:fakeroot
Version1.38.1
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/fakeroot
Homepagehttps://tracker.debian.org/pkg/fakeroot
Repositoryhttps://salsa.debian.org/clint/fakeroot
Upstream-Dokumentationhttps://manpages.debian.org/fakeroot
LizenzGPL-3.0-or-later
Quellarchivhttps://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.38.1.orig.tar.gz
Zuletzt aktualisiert2026-05-21T04:00:18Z
Pulseupdated
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefakeroot
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

fakeroot 1.37.1.1-1

tool for simulating superuser privileges

sudo apt install fakeroot
  • Section: utils
  • Architecture: amd64
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Debian stable package indexes · deb.debian.org · Debian stable package indexes: fakeroot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfakeroot 1.37.1.1-1

tool for simulating superuser privileges - shared libraries

sudo apt install libfakeroot
  • Section: libs
  • Architecture: amd64
  • Source Package: fakeroot
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfakeroot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

fakeroot

nix profile install nixpkgs#fakeroot
  • normalized package name match
  • Abgeglichen nach: Fakeroot
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fa/fakeroot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

fakeroot 1.33-1

tool for simulating superuser privileges

sudo apt install fakeroot
  • Section: utils
  • Architecture: amd64
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: fakeroot from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libfakeroot 1.33-1

tool for simulating superuser privileges - shared libraries

sudo apt install libfakeroot
  • Section: utils
  • Architecture: amd64
  • Source Package: fakeroot
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfakeroot from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

fakeroot 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 fakeroot
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: fakeroot
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fakeroot from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

fakeroot-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-dbg
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: fakeroot
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fakeroot-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

fakeroot-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-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: fakeroot
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fakeroot-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

fakeroot 1.37.1-4.fc44

Gives a fake root environment

https://tracker.debian.org/pkg/fakeroot

sudo dnf install fakeroot
  • License: GPL-3.0-or-later AND LicenseRef-Callaway-LGPLv2+ AND (GPL-1.0-or-later OR Artistic-1.0-Perl)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: fakeroot
  • 8 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fakeroot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fakeroot-libs 1.37.1-4.fc44

Gives a fake root environment (libraries)

https://tracker.debian.org/pkg/fakeroot

sudo dnf install fakeroot-libs
  • License: GPL-3.0-or-later AND LicenseRef-Callaway-LGPLv2+ AND (GPL-1.0-or-later OR Artistic-1.0-Perl)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: fakeroot
  • 2 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fakeroot-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

fakeroot 1:1.37.2-1

Tool for simulating superuser privileges

https://tracker.debian.org/pkg/fakeroot

sudo pacman -S fakeroot
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 5 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Fakeroot
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: fakeroot from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

fakeroot 1.38-1.1

Wrapper that gives a fake root environment

https://tracker.debian.org/pkg/fakeroot

sudo zypper install fakeroot
  • License: GPL-3.0-or-later
  • Category: Development/Tools/Other
  • Architecture: x86_64
  • Source Package: fakeroot
  • 3 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Fakeroot
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: fakeroot from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

fakeroot

sudo port install fakeroot
  • normalized package name match
  • Abgeglichen nach: Fakeroot
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/fakeroot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment