# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper, winget 安装 aide

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

## 安装

```sh
sudo av install brew:aide
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install aide
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install aide
```

  证据: MacPorts ports tree: security/aide/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add aide
```

  证据: Alpine Linux edge package indexes: aide from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install aide
```

  证据: Debian stable package indexes: aide from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install aide
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#aide
```

  证据: nixpkgs package indexes: pkgs/by-name/ai/aide/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install aide
```

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

### Windows

- winget (92%):

```sh
winget install --id CodeStory.Aide -e
```

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

## 软件包事实

- **软件包键:** brew:aide
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/aide>
- **版本:** 0.19.3
- **来源摘要:** File and directory integrity checker
- **主页:** <https://aide.github.io/>
- **仓库:** <https://github.com/aide/aide>
- **上游文档:** <https://aide.github.io/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/aide/aide/releases/download/v0.19.3/aide-0.19.3.tar.gz>
- **最后更新:** 2026-07-10T16:49:55-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- aide (cli)
- aide (别名)

## 依赖

- libgcrypt
- libgpg-error
- pcre2

## 构建依赖

- pkgconf

## macOS 提供的库

- curl

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.19.3
- 管理器更新时间: 2026-07-10
- 本地数据: OK
- 上游仓库: https://github.com/aide/aide
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

AIDE, the Advanced Intrusion Detection Environment, is a Unix file and directory integrity checker. It builds a database from rules in `aide.conf`, records file metadata and cryptographic checksums, and later compares the live filesystem against that baseline.

### 项目历史

AIDE was originally written by Rami Lehti and Pablo Virolainen in 1999. The official project site records Richard van den Berg as maintainer from 2003 to 2010 and Hannes von Haugwitz taking over in October 2010.

The project has stayed close to classic Unix security-tool culture: C source releases, signed tarballs and git tags, a mailing list, manual pages, text configuration, and distribution packaging. Its release notes show gradual modernization, including the 0.17 configuration/reporting changes in 2021, PCRE2 and multithreaded checksum work in 0.18, and the 0.19 move from libmhash to libnettle plus newer hash algorithms and report formats.

The current public GitHub repository was created in 2019, but official project history predates GitHub by two decades. The official website lists stable release 0.19.3 with release date 2026-01-31.

### 采用历史

AIDE is widely distributed through operating-system package repositories rather than primarily through language package managers. The official site lists downstream packages for Debian, Ubuntu, FreeBSD, Gentoo, Homebrew, MacPorts, NixOS, OpenBSD, openSUSE/SUSE, Red Hat, CentOS, and Fedora.

The input package facts also list apk, brew, Debian, dnf, MacPorts, Nix, Ubuntu, winget, and zypper package names, reinforcing that it is a cross-distribution system administration tool.

### 使用方式

Administrators initialize an AIDE database for a known-good system and later rerun AIDE to detect changed files, attributes, links, permissions, ownership, timestamps, and hashes. The official manual frames it as a way to detect tampering in key system binaries and other files after a suspected compromise.

AIDE does not use application credentials. Although `aide.conf` is central to operation, the sources checked did not document one portable config-file path across package managers, so this batch leaves config-file-location null.

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

AIDE is the kind of package that package managers exist to carry: old, security-sensitive, C-based, compiled with optional platform features, distributed through nearly every Unix family, and expected to integrate with local filesystem layout and administrator policy.

Its formula and distro packages matter because local defaults, compile-time options, hash libraries, and config paths can differ. For package nerds, AIDE is less about a fashionable CLI and more about the long tail of maintaining trustworthy system tools across operating systems.

### 时间线

- 1999: AIDE originally written by Rami Lehti and Pablo Virolainen.
- 2003: Richard van den Berg begins maintaining the project, according to the official site.
- 2010: Hannes von Haugwitz takes over project maintenance.
- 2019: Current GitHub repository created and 0.16.x releases appear in official NEWS.
- 2021: Version 0.17 introduces major configuration and reporting changes.
- 2023: Version 0.18 adds PCRE2 and multithreaded checksum support.
- 2026: Official site lists stable release 0.19.3.

### Related projects

- Tripwire-style host intrusion detection and file integrity monitoring tools.
- Linux distribution security packages and ports trees.
- Hash and filesystem attribute libraries such as nettle, PCRE2, ACL, xattr, SELinux, and e2fsattrs.

### 来源

- <https://aide.github.io/>
- <https://aide.github.io/doc/>
- <https://github.com/aide/aide/blob/master/AUTHORS>
- <https://github.com/aide/aide/blob/master/NEWS>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aide
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - aide - 0.19.1-2+deb13u2: normalized package name match | Debian stable package indexes: aide from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Advanced Intrusion Detection Environment - dynamic binary | https://aide.github.io
- Debian apt - aide-common - 0.19.1-2+deb13u2: normalized package name match | Debian stable package indexes: aide-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Advanced Intrusion Detection Environment - Common files | https://aide.github.io
- Debian apt - aide-dynamic - 0.19.1-2+deb13u2: normalized package name match | Debian stable package indexes: aide-dynamic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Advanced Intrusion Detection Environment - transitional package | https://aide.github.io
- Nix - aide: normalized package name match | nixpkgs package indexes: pkgs/by-name/ai/aide/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - aide - 0.18.6-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: aide from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Advanced Intrusion Detection Environment - dynamic binary | https://aide.github.io
- Ubuntu apt - aide-common - 0.18.6-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: aide-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Advanced Intrusion Detection Environment - Common files | https://aide.github.io
- Ubuntu apt - aide-dynamic - 0.18.6-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: aide-dynamic from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Advanced Intrusion Detection Environment - transitional package | https://aide.github.io
- apk - aide - 0.19.3-r0: normalized package name match | Alpine Linux edge package indexes: aide from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | file integrity checker and intrusion detection program | https://aide.github.io/
- apk - aide-doc - 0.19.3-r0: normalized package name match | Alpine Linux edge package indexes: aide-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | file integrity checker and intrusion detection program (documentation) | https://aide.github.io/
- dnf - aide - 0.19.2-17.fc45: normalized package name match | Fedora Rawhide package metadata: aide from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Intrusion detection environment | https://github.com/aide/aide
- zypper - aide - 0.19.2-2.5: normalized package name match | openSUSE Tumbleweed package metadata: aide from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Advanced Intrusion Detection Environment | https://aide.github.io/
- zypper - aide-test - 0.19.2-2.5: normalized package name match | openSUSE Tumbleweed package metadata: aide-test from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Simple AIDE testing | https://aide.github.io/
- MacPorts - aide: normalized package name match | MacPorts ports tree: security/aide/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - CodeStory.Aide: normalized package name match | Windows Package Manager source index: CodeStory.Aide from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [pcre2](https://pkg.so/zh-hans/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [libgpg-error](https://pkg.so/zh-hans/brew/libgpg-error/) - Runtime dependency declared by Homebrew.
- [libgcrypt](https://pkg.so/zh-hans/brew/libgcrypt/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rkhunter](https://pkg.so/zh-hans/brew/rkhunter/) - Shares pkgdb curated category or tags: cli, intrusion-detection, security.
- [auditbeat](https://pkg.so/zh-hans/brew/auditbeat/) - Shares pkgdb curated category or tags: cli, monitoring, security.
- [kekkai](https://pkg.so/zh-hans/brew/kekkai/) - Shares pkgdb curated category or tags: cli, file-integrity, monitoring, security.
- [threatdeck](https://pkg.so/zh-hans/brew/threatdeck/) - Shares pkgdb curated category or tags: cli, monitoring, security.
- [logcheck](https://pkg.so/zh-hans/brew/logcheck/) - Shares pkgdb curated category or tags: cli, monitoring, security.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [krb5](https://pkg.so/zh-hans/brew/krb5/) - Shares pkgdb curated category or tags: cli, security.
- [nettle](https://pkg.so/zh-hans/brew/nettle/) - Shares pkgdb curated category or tags: cli, security.
- [snort](https://pkg.so/zh-hans/brew/snort/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, detection, intrusion, intrusion-detection, pcre2.
- [gnupg-pkcs11-scd](https://pkg.so/zh-hans/brew/gnupg-pkcs11-scd/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, error, libgcrypt, libgpg, libgpg-error.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
