# 使用 Homebrew, apt, dnf, Nix 安装 agedu

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

## 安装

```sh
sudo av install brew:agedu
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install agedu
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install agedu
```

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

- dnf (92%):

```sh
sudo dnf install agedu
```

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

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

## 软件包事实

- **软件包键:** brew:agedu
- **软件包管理器:** Homebrew
- **版本:** 20260410
- **来源摘要:** Unix utility for tracking down wasted disk space
- **主页:** <https://www.chiark.greenend.org.uk/~sgtatham/agedu/>
- **最后更新:** 2026-07-10T16:49:54-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- agedu (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

agedu is Simon Tatham's Unix disk-usage analyzer that combines du-style size accounting with last-access times, helping users find large old data that is more likely to be safe to delete or archive.

### 项目历史

agedu comes from Simon Tatham's long-running Unix utility collection. Its official page introduces it as a Unix utility for tracking down wasted disk space, motivated by the limitation that ordinary `du` finds large directories but not necessarily stale ones.

The project page says agedu works for the author and has had a small amount of beta testing, and asks for reports from users scanning particularly large data sets. The same page points to the current source archive, a Git clone URL, and a web browser for the development repository.

### 采用历史

agedu is packaged beyond its upstream tarball: the supplied package metadata lists Homebrew, Debian, Fedora, Nix, and Ubuntu packages. That packaging spread makes sense for a portable Unix C utility whose primary competition is the standard `du` plus ad hoc shell commands.

The upstream page also provides a Windows scan-only helper that emits data suitable for loading into agedu on Unix, showing that its adoption niche includes mixed environments even though the main program is not a native Windows port.

### 使用方式

A typical run scans a tree with `agedu -s /path`, builds an `agedu.dat` index, then serves a local web interface with `agedu -w` or produces text reports with `agedu -t`. The man page also documents dump/load modes for moving scan data between machines or architectures.

The official documentation repeatedly emphasizes that agedu does not prove data is unwanted; it highlights promising cleanup targets by coloring or filtering disk usage by access age.

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

agedu is a classic sysadmin package: small, old-school, one binary, local HTML output, and designed to answer a question that `du` cannot quite answer. It is useful package-manager material because it extends a ubiquitous Unix workflow without adding a service or desktop dependency.

Its default index file, local-only web server, restrictive index permissions, and CGI mode are also very Unix: compose files, text dumps, local HTTP, and admin-controlled deployment rather than a centralized storage product.

### 时间线

- 2000s: agedu published on Simon Tatham's site as a Unix disk cleanup utility.
- 2026: Official page last modified and current source archive published as agedu-20260410.3622eda.tar.gz.

### Related projects

- du is the standard Unix baseline agedu extends with access-time analysis.
- ageduscan.exe is the upstream Windows scan-only helper for producing dump files loadable by agedu.

### 来源

- official agedu homepage
- official agedu manpage
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - agedu - 20211129.8cd63c5-1: normalized package name match | Debian stable package indexes: agedu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Unix utility for tracking down wasted disk space | https://www.chiark.greenend.org.uk/~sgtatham/agedu/
- Nix - agedu: normalized package name match | nixpkgs package indexes: pkgs/by-name/ag/agedu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - agedu - 20211129.8cd63c5-1: normalized package name match | Ubuntu 24.04 LTS package indexes: agedu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Unix utility for tracking down wasted disk space | https://www.chiark.greenend.org.uk/~sgtatham/agedu/
- dnf - agedu - 0-36.20200705.2a7d4a2.fc45: normalized package name match | Fedora Rawhide package metadata: agedu from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An utility for tracking down wasted disk space | http://www.chiark.greenend.org.uk/~sgtatham/agedu/


## Combined YAML source

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