# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 augeas

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

## 安装

```sh
sudo av install brew:augeas
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install augeas
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install augeas
```

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

### Linux

- apk (92%):

```sh
sudo apk add augeas
```

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

- dnf (92%):

```sh
sudo dnf install augeas
```

  证据: Fedora Rawhide package metadata: augeas 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#augeas
```

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

- pacman (92%):

```sh
sudo pacman -S augeas
```

  证据: Arch Linux sync databases: augeas from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install augeas
```

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

- Debian apt (92%):

```sh
sudo apt install augeas-doc
```

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

## 软件包事实

- **软件包键:** brew:augeas
- **软件包管理器:** Homebrew
- **版本:** 1.14.1
- **来源摘要:** Configuration editing tool and API
- **主页:** <https://augeas.net/>
- **仓库:** <https://github.com/hercules-team/augeas>
- **最后更新:** 2026-07-10T11:12:22-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- augmatch (别名)
- augparse (别名)
- augprint (别名)
- augtool (别名)
- fadot (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Augeas is a library and command-line toolkit for editing real system configuration files through a structured tree API. It is famous among Unix configuration people for replacing brittle sed and awk edits with lenses: bidirectional parsers that understand native config-file syntax.

### 项目历史

Augeas was written by David Lutterkort at Red Hat, according to the official AUTHORS file. The official README frames the project around a deliberately narrow problem: edit actual Linux configuration files in a controlled manner while preserving each file's native format rather than inventing a new cross-platform configuration abstraction.

The Augeas web documentation includes a 2008 Ottawa Linux Symposium talk and Red Hat Summit material, and the GitHub repository was created in 2008. The project has continued as a long-lived system tool with a C API, augtool, language bindings, and a growing stock of lenses for common configuration formats.

Release notes show the modern maintenance arc: 1.10 added augmatch and new API helpers in 2018, 1.13 added preview support and path-expression improvements in 2021, 1.14 added augprint and more lens coverage in 2022, and 1.14.1 in 2023 continued compatibility and lens updates.

### 采用历史

Augeas spread through system packaging rather than app-store style distribution. The supplied package facts list Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE packages. Its adoption is also visible in the broad contributor list, which includes Linux distribution and configuration-management contributors, and in the stock-lens model that lets downstreams add support for local config formats.

### 使用方式

Users normally explore and modify the parsed tree with augtool, for example under /files/etc/hosts or /files/etc/grub.conf. Developers and configuration-management systems can call the C API or bindings, while lens authors write small schema-like descriptions to teach Augeas about new file formats.

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

Augeas matters because it packages policy as parsers. Distros and operations tools need to edit config files without destroying comments, ordering, or local syntax; Augeas offers a stable library and CLI for that job. Its package value is in the lens corpus, ABI, bindings, and test fixtures as much as the augtool executable.

### 时间线

- 2008: Augeas material was presented at Ottawa Linux Symposium and Red Hat Summit; the GitHub repository was created.
- 2016: GitHub release tags include 1.6.0 and 1.7.0.
- 2018: Version 1.10 added augmatch and API additions.
- 2021: Version 1.13 added preview support and path-expression improvements.
- 2022: Version 1.14 added augprint and expanded lenses.
- 2023: Version 1.14.1 shipped compatibility fixes and lens updates.

### Related projects

- Augeas is related to configuration-management systems, language bindings around libaugeas, and other Hercules-team/system tooling. Its docs also expose libfa, the finite-automata library used by the project.

### 来源

- <https://api.github.com/repos/hercules-team/augeas>
- <https://augeas.net/docs/index.html>
- <https://augeas.net/tour.html>
- <https://github.com/hercules-team/augeas#readme>
- <https://raw.githubusercontent.com/hercules-team/augeas/master/AUTHORS>
- <https://raw.githubusercontent.com/hercules-team/augeas/master/NEWS>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - augeas-doc - 1.14.1-1.1~deb13u1: normalized package name match | Debian stable package indexes: augeas-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Augeas lenses documentation | http://augeas.net/
- Debian apt - augeas-lenses - 1.14.1-1.1~deb13u1: normalized package name match | Debian stable package indexes: augeas-lenses from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Set of lenses needed by libaugeas0 to parse config files | http://augeas.net/
- Debian apt - augeas-tools - 1.14.1-1.1~deb13u1: normalized package name match | Debian stable package indexes: augeas-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Augeas command line tools | http://augeas.net/
- Debian apt - libaugeas-dev - 1.14.1-1.1~deb13u1: normalized package name match | Debian stable package indexes: libaugeas-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for writing applications based on libaugeas0 | http://augeas.net/
- Debian apt - libaugeas0 - 1.14.1-1.1~deb13u1: normalized package name match | Debian stable package indexes: libaugeas0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Augeas configuration editing library and API | http://augeas.net/
- Nix - augeas: normalized package name match | nixpkgs package indexes: pkgs/by-name/au/augeas/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - augeas-doc - 1.14.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: augeas-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Augeas lenses documentation | http://augeas.net/
- Ubuntu apt - augeas-lenses - 1.14.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: augeas-lenses from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Set of lenses needed by libaugeas0 to parse config files | http://augeas.net/
- Ubuntu apt - augeas-tools - 1.14.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: augeas-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Augeas command line tools | http://augeas.net/
- Ubuntu apt - libaugeas-dev - 1.14.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libaugeas-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for writing applications based on libaugeas0 | http://augeas.net/
- Ubuntu apt - libaugeas0 - 1.14.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libaugeas0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Augeas configuration editing library and API | http://augeas.net/
- apk - augeas - 1.14.1-r0: normalized package name match | Alpine Linux edge package indexes: augeas from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A configuration editing tool | http://augeas.net
- apk - augeas-dev - 1.14.1-r0: normalized package name match | Alpine Linux edge package indexes: augeas-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A configuration editing tool (development files) | http://augeas.net
- apk - augeas-doc - 1.14.1-r0: normalized package name match | Alpine Linux edge package indexes: augeas-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A configuration editing tool (documentation) | http://augeas.net
- apk - augeas-libs - 1.14.1-r0: normalized package name match | Alpine Linux edge package indexes: augeas-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Libraries for augeas | http://augeas.net
- apk - augeas-static - 1.14.1-r0: normalized package name match | Alpine Linux edge package indexes: augeas-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Static libraries for Augeas | http://augeas.net


## Combined YAML source

View the package source record on GitHub. [combined/augeas.yml](https://github.com/mxcl/pkgdb/blob/main/combined/augeas.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
