# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 0.19.3
- **来源摘要:** File and directory integrity checker
- **主页:** <https://aide.github.io/>
- **仓库:** <https://github.com/aide/aide>
- **最后更新:** 2026-07-10T16:49:55-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- aide (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.19.3
## 项目历史与用法

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
