Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, scoop, zypper 安装 ack

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ack

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ack

MacPorts ports tree · devel/ack/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

Search tool like grep, but optimized for programmers

历史

项目历史与用法

ack is a Perl-based source-code search tool, similar to grep but optimized for programmers searching large source trees.

项目历史

ack was written and maintained by Andy Lester. The ack3 README describes it as a code-searching tool similar to grep, portable across platforms that run Perl.

The project evolved through major release lines: ack 2.0 in 2013 changed default search behavior and ackrc handling, and ack 3.0 in 2019 was the first official ack 3 release.

采用历史

ack spread through developer package managers because it gave programmers grep-like searching with recursive traversal, source-file type detection, VCS-directory ignores, highlighting, and project/user configuration.

The input package facts list ack across Homebrew, Debian, Ubuntu, Fedora/dnf, MacPorts, Nix, Scoop, Chocolatey, Alpine, and openSUSE/zypper, showing unusually broad cross-platform packaging for a small CLI.

使用方式

Typical usage is interactive and recursive, for example running ack PATTERN inside a source tree. The official documentation emphasizes default recursion, source-aware file selection, filetype filters, match highlighting, and GNU grep-like switches.

ack reads options from ackrc files, including global, user, project, and explicitly supplied ackrc locations, which lets users encode local filetype and ignore rules without wrapper scripts.

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

ack is important in CLI package history as one of the classic programmer-focused grep replacements, alongside later tools such as ag and ripgrep.

For package maintainers it is intentionally boring in a useful way: mostly Perl, few runtime assumptions, one main executable, and behavior that users expect to be identical across Unix, Windows, and package-manager installs.

时间线

  • 2005: ack copyright history begins in the official ack3 README.
  • 2013: ack 2.0 released with changed defaults and multiple ackrc support.
  • 2019: ack 3.0.0 becomes the first official ack 3 release.
  • 2026: ack 3.10.0 changelog records security fixes for ANSI escapes and project .ackrc handling.

Related projects

  • Related tools include grep, GNU grep, File::Next, The Silver Searcher, and ripgrep.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.ackrc/etc/ackrc
Windows
C:\Users\$USER\AppData\Roaming\ackrcC:\ProgramData\ackrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ackcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本3.10.0
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://beyondgrep.com/

安装元数据

软件包元数据

软件包键brew:ack
版本3.10.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ack
主页https://beyondgrep.com/
仓库https://github.com/beyondgrep/ack3
上游文档https://beyondgrep.com/documentation
许可证Artistic-2.0
源码归档https://beyondgrep.com/ack-v3.10.0
最后更新2026-06-22T14:02:41-07:00
Pulseupdated
构建依赖pod2man
macOS 提供的库perl
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

ack 3.8.1-1

grep-like program specifically for large source trees

https://beyondgrep.com/

sudo apt install ack
  • Section: utils
  • Architecture: all
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ack
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ack from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ack

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

ack 3.7.0-1

grep-like program specifically for large source trees

https://beyondgrep.com/

sudo apt install ack
  • Section: universe/utils
  • Architecture: all
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ack
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ack from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ack 3.10.0-r0

Perl-powered replacement for grep

https://beyondgrep.com/

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

ack-doc 3.10.0-r0

Perl-powered replacement for grep (documentation)

https://beyondgrep.com/

sudo apk add ack-doc
  • License: Artistic-2.0
  • Architecture: x86_64
  • Source Package: ack
  • normalized package name match
  • 匹配方式:Ack
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ack-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

ack 3.10.0-1.fc45

A Grep-like source code search tool

http://beyondgrep.com/

sudo dnf install ack
  • License: Artistic-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ack
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Ack
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

ack 3.10.0-1.1

Grep-Like Text Finder

https://beyondgrep.com/

sudo zypper install ack
  • License: Artistic-2.0
  • Category: Productivity/Text/Utilities
  • Architecture: noarch
  • Source Package: ack
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ack
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

perl-App-Ack 3.10.0-1.1

Grep-Like Text Finder Perl Module

https://beyondgrep.com/

sudo zypper install perl-App-Ack
  • License: Artistic-2.0
  • Category: Development/Libraries/Perl
  • Architecture: noarch
  • Source Package: ack
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Ack
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: perl-App-Ack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ack

sudo port install ack
  • normalized package name match
  • 匹配方式:Ack
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/ack/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

ack

choco install ack
  • normalized package name match
  • 匹配方式:Ack
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: ack from https://community.chocolatey.org/api/v2/Packages()?$filter=IsLatestVersion&$select=Id&$top=1000
Scoop95%

main/ack

scoop install main/ack
  • normalized package name match
  • 匹配方式:Ack
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/ack.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

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