# 安装 coreutils

查看 coreutils 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install coreutils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install coreutils
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: Fedora Rawhide package metadata: coreutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

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

  证据: 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
```

  证据: 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
```

  证据: openSUSE Tumbleweed package metadata: coreutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

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

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:coreutils
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/coreutils>
- **版本:** 9.11
- **来源摘要:** GNU File, Shell, and Text utilities
- **主页:** <https://www.gnu.org/software/coreutils/>
- **上游文档:** <https://www.gnu.org/software/coreutils/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/coreutils/coreutils-9.11.tar.xz>
- **更新:** 2026-04-21T06:54:43Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 可执行文件

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

## 依赖

- gmp

## 安装行为

- post-install 钩子: 未定义
- Caveats: Commands also provided by macOS and the commands dir, dircolors, vdir have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH with: PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH"
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 9.11
- 管理器更新时间: 2026-04-21
- 本地数据: ok
- 上游仓库: https://www.gnu.org/software/coreutils/
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

broad file and shell utility collection.

- **Geiger 风险:** blue / high
- broad file and shell utility collection
- **审批门规则:** 8

## 相关链接

- [gmp](https://www.automicvault.com/pkg/brew/gmp/) - Runtime dependency declared by Homebrew.
- [pyenv-virtualenv](https://www.automicvault.com/pkg/brew/pyenv-virtualenv/) - Popular package that depends on this formula.
- [cask](https://www.automicvault.com/pkg/brew/cask/) - Popular package that depends on this formula.
- [git-quick-stats](https://www.automicvault.com/pkg/brew/git-quick-stats/) - Popular package that depends on this formula.
- [byobu](https://www.automicvault.com/pkg/brew/byobu/) - Popular package that depends on this formula.
- [libfaketime](https://www.automicvault.com/pkg/brew/libfaketime/) - Popular package that depends on this formula.
- [elan-init](https://www.automicvault.com/pkg/brew/elan-init/) - Popular package that depends on this formula.
- [joern](https://www.automicvault.com/pkg/brew/joern/) - Popular package that depends on this formula.
- [crosstool-ng](https://www.automicvault.com/pkg/brew/crosstool-ng/) - Popular package that depends on this formula.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- approval-gate seed metadata
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
