# coreutils mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget installieren

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

## Installation

```sh
sudo av install brew:coreutils
```

## Antwort zur Agent-Sicherheit

coreutils supplies file utilities that can read, delete, and transform local data at scale.

- **Credential-Zugriff:** Can read files and environment exposed to the agent session.
- **Änderungen an Remote-Zustand:** Primarily local, but can prepare data for other remote tools.
- **Publish-/Artefakt-Risiko:** Can delete or rewrite build outputs and generated artifacts.
- **Empfohlene Kontrolle:** Gate destructive file operations over broad or sensitive paths.
- **Hinweise für Agent-Nutzung:** Allow narrow reads; require approval for recursive deletes, overwrites, and secret-path reads.

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install coreutils
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install coreutils
```

  Evidenz: MacPorts ports tree: sysutils/coreutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add coreutils
```

  Evidenz: Alpine Linux edge package indexes: coreutils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install coreutils
```

  Evidenz: Debian stable package indexes: coreutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install coreutils
```

  Evidenz: Fedora Rawhide package metadata: coreutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#coreutils
```

  Evidenz: nixpkgs package indexes: coreutils from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S coreutils
```

  Evidenz: Arch Linux sync databases: coreutils from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install coreutils
```

  Evidenz: openSUSE Tumbleweed package metadata: coreutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/coreutils
```

  Evidenz: Scoop official bucket manifest trees: bucket/coreutils.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id uutils.coreutils -e
```

  Evidenz: Windows Package Manager source index: uutils.coreutils from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:coreutils
- **Paketmanager:** Homebrew
- **Version:** 9.11
- **Quellzusammenfassung:** GNU File, Shell, and Text utilities
- **Homepage:** <https://www.gnu.org/software/coreutils/>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- b2sum (Alias)
- base32 (Alias)
- basenc (Alias)
- dir (Alias)
- dircolors (Alias)
- factor (Alias)
- g[ (Alias)
- gb2sum (Alias)
- gbase32 (Alias)
- gbase64 (Alias)
- gbasename (Alias)
- gbasenc (Alias)
- gcat (Alias)
- gchgrp (Alias)
- gchmod (Alias)
- gchown (Alias)
- gchroot (Alias)
- gcksum (Alias)
- gcomm (Alias)
- gcp (Alias)
- gcsplit (Alias)
- gcut (Alias)
- gdate (Alias)
- gdd (Alias)
- gdf (Alias)
- gdir (Alias)
- gdircolors (Alias)
- gdirname (Alias)
- gdu (Alias)
- gecho (Alias)
- genv (Alias)
- gexpand (Alias)
- gexpr (Alias)
- gfactor (Alias)
- gfalse (Alias)
- gfmt (Alias)
- gfold (Alias)
- ggroups (Alias)
- ghead (Alias)
- ghostid (Alias)
- gid (Alias)
- ginstall (Alias)
- gjoin (Alias)
- glink (Alias)
- gln (Alias)
- glogname (Alias)
- gls (Alias)
- gmd5sum (Alias)
- gmkdir (Alias)
- gmkfifo (Alias)
- gmknod (Alias)
- gmktemp (Alias)
- gmv (Alias)
- gnice (Alias)
- gnl (Alias)
- gnohup (Alias)
- gnproc (Alias)
- gnumfmt (Alias)
- god (Alias)
- gpaste (Alias)
- gpathchk (Alias)
- gpinky (Alias)
- gpr (Alias)
- gprintenv (Alias)
- gprintf (Alias)
- gptx (Alias)
- gpwd (Alias)
- greadlink (Alias)
- grealpath (Alias)
- grm (Alias)
- grmdir (Alias)
- gseq (Alias)
- gsha1sum (Alias)
- gsha224sum (Alias)
- gsha256sum (Alias)
- gsha384sum (Alias)
- gsha512sum (Alias)
- gshred (Alias)
- gshuf (Alias)
- gsleep (Alias)
- gsort (Alias)
- gsplit (Alias)
- gstat (Alias)
- gstdbuf (Alias)
- gstty (Alias)
- gsum (Alias)
- gsync (Alias)
- gtac (Alias)
- gtail (Alias)
- gtee (Alias)
- gtest (Alias)
- gtimeout (Alias)
- gtouch (Alias)
- gtr (Alias)
- gtrue (Alias)
- gtruncate (Alias)
- gtsort (Alias)
- gtty (Alias)
- guname (Alias)
- gunexpand (Alias)
- guniq (Alias)
- gunlink (Alias)
- gusers (Alias)
- gvdir (Alias)
- gwc (Alias)
- gwho (Alias)
- gwhoami (Alias)
- gyes (Alias)
- hostid (Alias)
- md5sum (Alias)
- nproc (Alias)
- numfmt (Alias)
- pinky (Alias)
- ptx (Alias)
- realpath (Alias)
- sha1sum (Alias)
- sha224sum (Alias)
- sha256sum (Alias)
- sha384sum (Alias)
- sha512sum (Alias)
- shred (Alias)
- shuf (Alias)
- stdbuf (Alias)
- tac (Alias)
- timeout (Alias)
- truncate (Alias)
- vdir (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 9.11
## Projektgeschichte und Nutzung

GNU Coreutils is the GNU Project's distribution of the standard command-line file, shell, and text utilities used throughout Unix-like systems. In package-manager practice it is treated less as a single application than as a portable baseline for commands such as cat, chmod, cp, date, ls, sort, tail, tr, and many checksum and text-processing tools.

### Projektgeschichte

The package sits in the GNU system layer: its official description presents it as the GNU file, shell, and text utilities, and the GNU FTP archive shows coreutils release tarballs from the 5.x series onward, including coreutils 5.0 in April 2003. That release trail made the name 'coreutils' the umbrella package users and distributors expect when they want GNU behavior for the traditional small utilities.

### Adoptionsgeschichte

Coreutils became a normal dependency surface for GNU/Linux distributions and a compatibility package on non-GNU systems. The Homebrew formula exposes many commands with a g-prefix on macOS so users can opt into GNU semantics without replacing the platform-provided BSD userland.

### Wie es verwendet wird

Users normally install coreutils for scripts and interactive shell workflows that rely on GNU options or GNU extensions. On macOS the package is especially common in development environments where cross-platform shell scripts assume commands such as gdate, gsort, greadlink, or gtimeout.

### Warum Paket-Nerds sich dafür interessieren

Coreutils is one of the canonical examples of packaging a userland as a coherent compatibility layer. Its release cadence, prefixing strategy on macOS, GPL licensing, and overlap with POSIX and BSD utilities make it a frequent packaging-policy test case.

### Zeitleiste

- 2003: GNU FTP archive lists coreutils 5.0 release tarballs.
- 2009: GNU FTP archive lists coreutils 8.x release tarballs, reflecting continued maintenance under the coreutils package name.
- Present: Homebrew packages GNU Coreutils as a system utility collection with GNU-prefixed commands on macOS.

### Related projects

- Related userland packages include BusyBox, Toybox, uutils coreutils, BSD userland utilities, and GNU findutils, grep, sed, and tar.

### Quellen

- <https://www.gnu.org/software/coreutils/>
- <https://www.gnu.org/software/coreutils/manual/coreutils.html>
- <https://ftp.gnu.org/gnu/coreutils/>
- <https://formulae.brew.sh/formula/coreutils>


## Sicherheitshinweise

broad file and shell utility collection.

- **Geiger-Risiko:** blue / hoch
- broad file and shell utility collection
- **Approval-Gate-Regeln:** 8

## Andere Paketmanager-Einträge

- Debian apt - coreutils - 9.7-3: normalized package name match | Debian stable package indexes: coreutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU core utilities | https://gnu.org/software/coreutils
- Nix - coreutils: normalized package name match | nixpkgs package indexes: coreutils from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - coreutils - 9.4-3ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: coreutils from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU core utilities | http://gnu.org/software/coreutils
- apk - coreutils - 9.11-r0: normalized package name match | Alpine Linux edge package indexes: coreutils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The basic file, shell and text manipulation utilities | https://www.gnu.org/software/coreutils/
- apk - coreutils-doc - 9.11-r0: normalized package name match | Alpine Linux edge package indexes: coreutils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The basic file, shell and text manipulation utilities (documentation) | https://www.gnu.org/software/coreutils/
- apk - coreutils-env - 9.11-r0: normalized package name match | Alpine Linux edge package indexes: coreutils-env from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The basic file, shell and text manipulation utilities | https://www.gnu.org/software/coreutils/
- apk - coreutils-fmt - 9.11-r0: normalized package name match | Alpine Linux edge package indexes: coreutils-fmt from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The basic file, shell and text manipulation utilities | https://www.gnu.org/software/coreutils/
- apk - coreutils-sha512sum - 9.11-r0: normalized package name match | Alpine Linux edge package indexes: coreutils-sha512sum from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The basic file, shell and text manipulation utilities | https://www.gnu.org/software/coreutils/
- dnf - coreutils - 9.11-5.fc45: normalized package name match | Fedora Rawhide package metadata: coreutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A set of basic GNU tools commonly used in shell scripts | https://www.gnu.org/software/coreutils/
- dnf - coreutils-common - 9.11-5.fc45: normalized package name match | Fedora Rawhide package metadata: coreutils-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | coreutils common optional components | https://www.gnu.org/software/coreutils/
- dnf - coreutils-single - 9.11-5.fc45: normalized package name match | Fedora Rawhide package metadata: coreutils-single from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | coreutils multicall binary | https://www.gnu.org/software/coreutils/
- pacman - coreutils - 9.11-2: normalized package name match | Arch Linux sync databases: coreutils from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | The basic file, shell and text manipulation utilities of the GNU operating system | https://www.gnu.org/software/coreutils/
- zypper - coreutils - 9.11-4.3: normalized package name match | openSUSE Tumbleweed package metadata: coreutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | GNU Core Utilities | https://www.gnu.org/software/coreutils/
- zypper - coreutils-doc - 9.11-4.3: normalized package name match | openSUSE Tumbleweed package metadata: coreutils-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for the GNU Core Utilities | https://www.gnu.org/software/coreutils/
- zypper - coreutils-lang - 9.11-4.3: normalized package name match | openSUSE Tumbleweed package metadata: coreutils-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package coreutils | https://www.gnu.org/software/coreutils/
- zypper - coreutils-single - 9.11-4.3: normalized package name match | openSUSE Tumbleweed package metadata: coreutils-single from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | GNU Core Utilities | https://www.gnu.org/software/coreutils/


## Combined YAML source

View the package source record on GitHub. [combined/coreutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/coreutils.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- approval-gate seed metadata
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
