Automic VaultAutomic Vault

brew

gpatch mit Homebrew, MacPorts, apk, chocolatey, apt, dnf, Nix, pacman, zypper, scoop, winget installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install gpatch

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install gpatch

MacPorts ports tree · devel/gpatch/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add patch

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

Debian aptverifiziert · 92%
sudo apt install patch

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

Fedora dnfverifiziert · 92%
sudo dnf install patch

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

Nixverifiziert · 92%
nix profile install nixpkgs#patch

nixpkgs package indexes · patch · Quelle: raw.githubusercontent.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S patch

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

openSUSE zypperverifiziert · 92%
sudo zypper install patch

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

Windows

Chocolateyverifiziert · 92%
choco install patch

Chocolatey community package catalog · patch · Quelle: community.chocolatey.org

Scoopverifiziert · 92%
scoop install main/patch

Scoop official bucket manifest trees · bucket/patch.json · Quelle: api.github.com

Windows Package Managerverifiziert · 92%
winget install --id GnuWin32.Patch -e

Windows Package Manager source index · GnuWin32.Patch · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Apply a diff file to an original

Verlauf

Projektgeschichte und Nutzung

GNU patch applies diff output to original files to produce modified files. It descends from Larry Wall's patch program and became one of the basic tools of Unix source distribution, mailing-list development, and package-manager patch application.

Projektgeschichte

The GNU patch README states that this GNU version applies diff files to original files and includes many Free Software Foundation changes: binary and large-file handling, unified diff support, merge behavior, GNU-style backup files, improved RCS and SCCS interaction, GNU option parsing/configure conventions, and better POSIX compliance.

The README also explains why the FSF distributed GNU patch independently: Larry Wall had not released a new version since mid-1988, and he agreed to GNU distribution under the GNU General Public License. GNU bulletins from the 1990s describe patch as GNU's version of Larry Wall's program for applying diff output.

Adoptionsgeschichte

patch became a standard Unix packaging primitive because source distributions could ship small textual changes instead of whole replacement trees. GNU patch's support for unified diffs, reject files, backup naming, and POSIX/GNU build conventions made it fit naturally into Autotools-era source packages and distribution build recipes.

Wie es verwendet wird

The GNU diffutils manual shows the common form `patch <patchfile`, with optional original-file and patch-file arguments. If no patch file is supplied, patch reads diff output from standard input; if no input file is supplied, it tries to infer the file to edit from leading patch text.

Warum Paket-Nerds sich dafür interessieren

For package maintainers, GNU patch is infrastructure rather than just a user command. It is the tool behind downstream patch queues, source RPM and Debian patch application, vendor backports, portability fixes, and decades of email-driven source exchange before pull-request platforms normalized repository-hosted review.

Zeitleiste

  • 1984: Larry Wall copyright years begin in the GNU patch README.
  • 1988: The GNU patch README says Larry Wall had not released a new version since mid-1988.
  • 1989: Free Software Foundation copyright years begin in the GNU patch README.
  • 1990s: GNU bulletins list patch as GNU's version of Larry Wall's diff-applying program.
  • 1997: GNU FTP archive lists patch 2.5.
  • 2009: patch 2.6 adds a regression test suite, merge option, improved rejects, and GPLv3 licensing.
  • 2012: patch 2.7 adds `diff --git` format support and path-safety checks.
  • 2018: GNU FTP archive lists patch 2.7.6.
  • 2025: GNU FTP archive lists patch 2.8.

Related projects

  • GNU diffutils produces the diff output commonly consumed by patch.
  • RCS, SCCS, CVS, and later Git all coexist with patch-oriented workflows.
  • Git's `git apply` and `git format-patch` continue the patch-file workflow in a repository-aware form.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 8 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
patchcliglobales 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-10
Manager-Version2.8
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://savannah.gnu.org/projects/patch/

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:gpatch
Version2.8
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/gpatch
Homepagehttps://savannah.gnu.org/projects/patch/
Repositoryhttps://git.savannah.gnu.org/cgit/patch.git
Upstream-Dokumentationhttps://savannah.gnu.org/projects/patch
LizenzGPL-3.0-or-later
Quellarchivhttps://ftpmirror.gnu.org/gnu/patch/patch-2.8.tar.xz
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert
EinschränkungenGNU "patch" has been installed as "gpatch". If you need to use it as "patch", you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/gpatch/libexec/gnubin:$PATH"

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegpatch
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.

MacPorts95%

gpatch

sudo port install gpatch
  • normalized package name match
  • Abgeglichen nach: Gpatch
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gpatch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

patch 2.8-2

Apply a diff file to an original

https://savannah.gnu.org/projects/patch/

sudo apt install patch
  • Section: vcs
  • Architecture: amd64
  • 1 Abhängigkeiten
  • 2 optionale Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Patch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: patch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

patch

nix profile install nixpkgs#patch
  • installed executable or alias match
  • Abgeglichen nach: Patch
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: patch from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt92%

patch 2.7.6-7build3

Apply a diff file to an original

https://savannah.gnu.org/projects/patch/

sudo apt install patch
  • Section: utils
  • Architecture: amd64
  • 1 Abhängigkeiten
  • 2 optionale Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Patch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: patch from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk92%

patch 2.8-r0

Utility to apply diffs to files

https://www.gnu.org/software/patch/patch.html

sudo apk add patch
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: patch
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Patch
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: patch from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

patch-doc 2.8-r0

Utility to apply diffs to files (documentation)

https://www.gnu.org/software/patch/patch.html

sudo apk add patch-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: patch
  • installed executable or alias match
  • Abgeglichen nach: Patch
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: patch-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf92%

patch 2.8-4.fc44

Utility for modifying/upgrading files

https://savannah.gnu.org/projects/patch/

sudo dnf install patch
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: patch
  • 4 Abhängigkeiten
  • 2 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Patch
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: patch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

patch 2.8-1

A utility to apply patch files to original sources

https://www.gnu.org/software/patch/

sudo pacman -S patch
  • License: GPL
  • Architecture: x86_64
  • 2 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Patch
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: patch from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper92%

patch 2.8-2.3

GNU patch

https://ftp.gnu.org/gnu/patch/

sudo zypper install patch
  • License: GPL-3.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: patch
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Patch
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: patch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Chocolatey92%

patch

choco install patch
  • installed executable or alias match
  • Abgeglichen nach: Patch
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: patch from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','openssh'
Scoop92%

main/patch

scoop install main/patch
  • installed executable or alias match
  • Abgeglichen nach: Patch
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/patch.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

GnuWin32.Patch

winget install --id GnuWin32.Patch -e
  • installed executable or alias match
  • Abgeglichen nach: Patch
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: GnuWin32.Patch from https://cdn.winget.microsoft.com/cache/source.msix

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