Automic VaultAutomic Vault

brew / 审批门

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 coreutils

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

代理安全

代理安全回答

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

凭据访问

Can read files and environment exposed to the agent session.

远程变更

Primarily local, but can prepare data for other remote tools.

发布/制品风险

Can delete or rewrite build outputs and generated artifacts.

推荐控制

Gate destructive file operations over broad or sensitive paths.

代理使用指南

Allow narrow reads; require approval for recursive deletes, overwrites, and secret-path reads.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install coreutils

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install coreutils

MacPorts ports tree · sysutils/coreutils/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add coreutils

Alpine Linux edge package indexes · coreutils · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install coreutils

Debian stable package indexes · coreutils · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install coreutils

Fedora Rawhide package metadata · coreutils · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#coreutils

nixpkgs package indexes · coreutils · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S coreutils

Arch Linux sync databases · coreutils · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install coreutils

openSUSE Tumbleweed package metadata · coreutils · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/coreutils

Scoop official bucket manifest trees · bucket/coreutils.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id uutils.coreutils -e

Windows Package Manager source index · uutils.coreutils · 来源: cdn.winget.microsoft.com

概览

软件包摘要

GNU File, Shell, and Text utilities

命令和别名

  • 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

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

审批门

高风险命令的人工审核元数据

本地审批门种子包含 8 条适用于 coreutils 的规则。覆盖的入口点:gchmod, gchown, gcp, gdd, gmv, grm, gshred, gtruncate。严重级别:严重, 高, 中。覆盖状态:partial,审核于 2026-05-21。

受控操作示例

  • Delete files or directories.
  • Recursively delete files or directories.
  • Copy or move files, possibly overwriting destinations.
  • Move or rename files, possibly overwriting destinations.
  • Change permissions or ownership.
  • Change file ownership.
  • Copy raw bytes to files or devices.

可执行文件

已安装的可执行文件

命令类型暴露范围备注
base32cli全局可执行文件
basenccli全局可执行文件
dircli全局可执行文件
dircolorscli全局可执行文件
factorcli全局可执行文件
g[cli全局可执行文件
gb2sumcli全局可执行文件
gbase32cli全局可执行文件
gbase64cli全局可执行文件
gbasenamecli全局可执行文件
gbasenccli全局可执行文件
gcatcli全局可执行文件
gchgrpcli全局可执行文件
gchmodcli全局可执行文件
gchowncli全局可执行文件
gchrootcli全局可执行文件
gcksumcli全局可执行文件
gcommcli全局可执行文件
gcpcli全局可执行文件
gcsplitcli全局可执行文件
gcutcli全局可执行文件
gdatecli全局可执行文件
gddcli全局可执行文件
gdfcli全局可执行文件
gdircli全局可执行文件
gdircolorscli全局可执行文件
gdirnamecli全局可执行文件
gducli全局可执行文件
gechocli全局可执行文件
genvcli全局可执行文件
gexpandcli全局可执行文件
gexprcli全局可执行文件
gfactorcli全局可执行文件
gfalsecli全局可执行文件
gfmtcli全局可执行文件
gfoldcli全局可执行文件
ggroupscli全局可执行文件
gheadcli全局可执行文件
ghostidcli全局可执行文件
gidcli全局可执行文件
ginstallcli全局可执行文件
gjoincli全局可执行文件
glinkcli全局可执行文件
glncli全局可执行文件
glognamecli全局可执行文件
glscli全局可执行文件
gmd5sumcli全局可执行文件
gmkdircli全局可执行文件
gmkfifocli全局可执行文件
gmknodcli全局可执行文件
gmktempcli全局可执行文件
gmvcli全局可执行文件
gnicecli全局可执行文件
gnlcli全局可执行文件
gnohupcli全局可执行文件
gnproccli全局可执行文件
gnumfmtcli全局可执行文件
godcli全局可执行文件
gpastecli全局可执行文件
gpathchkcli全局可执行文件
gpinkycli全局可执行文件
gprcli全局可执行文件
gprintenvcli全局可执行文件
gprintfcli全局可执行文件
gptxcli全局可执行文件
gpwdcli全局可执行文件
greadlinkcli全局可执行文件
grealpathcli全局可执行文件
grmcli全局可执行文件
grmdircli全局可执行文件
gseqcli全局可执行文件
gsha1sumcli全局可执行文件
gsha224sumcli全局可执行文件
gsha256sumcli全局可执行文件
gsha384sumcli全局可执行文件
gsha512sumcli全局可执行文件
gshredcli全局可执行文件
gshufcli全局可执行文件
gsleepcli全局可执行文件
gsortcli全局可执行文件
gsplitcli全局可执行文件
gstatcli全局可执行文件
gstdbufcli全局可执行文件
gsttycli全局可执行文件
gsumcli全局可执行文件
gsynccli全局可执行文件
gtaccli全局可执行文件
gtailcli全局可执行文件
gteecli全局可执行文件
gtestcli全局可执行文件
gtimeoutcli全局可执行文件
gtouchcli全局可执行文件
gtrcli全局可执行文件
gtruecli全局可执行文件
gtruncatecli全局可执行文件
gtsortcli全局可执行文件
gttycli全局可执行文件
gunamecli全局可执行文件
gunexpandcli全局可执行文件
guniqcli全局可执行文件
gunlinkcli全局可执行文件
guserscli全局可执行文件
gvdircli全局可执行文件
gwccli全局可执行文件
gwhocli全局可执行文件
gwhoamicli全局可执行文件
gyescli全局可执行文件
hostidcli全局可执行文件
md5sumcli全局可执行文件
nproccli全局可执行文件
numfmtcli全局可执行文件
pinkycli全局可执行文件
ptxcli全局可执行文件
realpathcli全局可执行文件
sha1sumcli全局可执行文件
sha224sumcli全局可执行文件
sha256sumcli全局可执行文件
sha384sumcli全局可执行文件
sha512sumcli全局可执行文件
shredcli全局可执行文件
shufcli全局可执行文件
stdbufcli全局可执行文件
taccli全局可执行文件
timeoutcli全局可执行文件
truncatecli全局可执行文件
vdircli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本9.11
管理器更新时间2026-04-21
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:coreutils
版本9.11
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/coreutils
主页https://www.gnu.org/software/coreutils/
仓库https://git.savannah.gnu.org/cgit/coreutils.git
上游文档https://www.gnu.org/software/coreutils/manual/coreutils.html
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/coreutils/coreutils-9.11.tar.xz
最后更新2026-04-21T06:54:43Z
Pulseupdated
依赖gmp
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项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"

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecoreutils
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • b2sum
  • gfold
  • idutils
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

coreutils 9.7-3

GNU core utilities

https://gnu.org/software/coreutils

sudo apt install coreutils
  • Section: utils
  • Architecture: amd64
  • normalized package name match
  • 匹配方式:Coreutils
Debian stable package indexes · deb.debian.org · Debian stable package indexes: coreutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

coreutils

nix profile install nixpkgs#coreutils
  • normalized package name match
  • 匹配方式:Coreutils
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: coreutils from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

coreutils 9.4-3ubuntu6

GNU core utilities

http://gnu.org/software/coreutils

sudo apt install coreutils
  • Section: utils
  • Architecture: amd64
  • normalized package name match
  • 匹配方式:Coreutils
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: coreutils from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

coreutils 9.11-r0

The basic file, shell and text manipulation utilities

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

sudo apk add coreutils
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: coreutils
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Coreutils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: coreutils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

coreutils-doc 9.11-r0

The basic file, shell and text manipulation utilities (documentation)

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

sudo apk add coreutils-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: coreutils
  • normalized package name match
  • 匹配方式:Coreutils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: coreutils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

coreutils-env 9.11-r0

The basic file, shell and text manipulation utilities

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

sudo apk add coreutils-env
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: coreutils
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Coreutils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: coreutils-env from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

coreutils-fmt 9.11-r0

The basic file, shell and text manipulation utilities

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

sudo apk add coreutils-fmt
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: coreutils
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Coreutils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: coreutils-fmt from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

coreutils-sha512sum 9.11-r0

The basic file, shell and text manipulation utilities

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

sudo apk add coreutils-sha512sum
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: coreutils
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Coreutils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: coreutils-sha512sum from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

coreutils 9.11-2.fc45

A set of basic GNU tools commonly used in shell scripts

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

sudo dnf install coreutils
  • License: GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: coreutils
  • 11 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Coreutils
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: coreutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

coreutils-common 9.11-2.fc45

coreutils common optional components

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

sudo dnf install coreutils-common
  • License: GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: coreutils
  • 1 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Coreutils
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: coreutils-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

coreutils-single 9.11-2.fc45

coreutils multicall binary

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

sudo dnf install coreutils-single
  • License: GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: coreutils
  • 7 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Coreutils
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: coreutils-single from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

coreutils 9.11-1

The basic file, shell and text manipulation utilities of the GNU operating system

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

sudo pacman -S coreutils
  • License: GPL-3.0-or-later AND GFDL-1.3-or-later
  • Architecture: x86_64
  • 6 依赖
  • normalized package name match
  • 匹配方式:Coreutils
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: coreutils from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

coreutils 9.11-3.1

GNU Core Utilities

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

sudo zypper install coreutils
  • License: GPL-3.0-or-later
  • Category: System/Base
  • Architecture: x86_64
  • Source Package: coreutils
  • 7 依赖
  • 32 提供
  • normalized package name match
  • 匹配方式:Coreutils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: coreutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

coreutils-doc 9.11-3.1

Documentation for the GNU Core Utilities

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

sudo zypper install coreutils-doc
  • License: GPL-3.0-or-later
  • Category: Documentation/Man
  • Architecture: noarch
  • Source Package: coreutils
  • 2 提供
  • normalized package name match
  • 匹配方式:Coreutils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: coreutils-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

coreutils-lang 9.11-3.1

Translations for package coreutils

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

sudo zypper install coreutils-lang
  • License: GPL-3.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: coreutils
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Coreutils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: coreutils-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

coreutils-single 9.11-3.1

GNU Core Utilities

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

sudo zypper install coreutils-single
  • License: GPL-3.0-or-later
  • Category: System/Base
  • Architecture: x86_64
  • Source Package: coreutils-single
  • 7 依赖
  • 32 提供
  • normalized package name match
  • 匹配方式:Coreutils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: coreutils-single from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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