# 使用 Homebrew, apk, apt, Nix 安装 apt-dater

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

## 安装

```sh
sudo av install brew:apt-dater
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apt-dater
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add apt-dater
```

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

- Debian apt (92%):

```sh
sudo apt install apt-dater
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#apt-dater
```

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

## 软件包事实

- **软件包键:** brew:apt-dater
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/apt-dater>
- **版本:** 1.0.4
- **来源摘要:** Manage package updates on remote hosts using SSH
- **主页:** <https://github.com/DE-IBH/apt-dater>
- **仓库:** <https://github.com/DE-IBH/apt-dater>
- **上游文档:** <https://github.com/DE-IBH/apt-dater#readme>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/DE-IBH/apt-dater/archive/refs/tags/v1.0.4.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- adsh (cli)
- apt-dater (cli)
- adsh (别名)
- apt-dater (别名)

## 依赖

- gettext
- glib
- popt

## 构建依赖

- autoconf
- automake
- coreutils
- gettext
- pkgconf

## macOS 提供的库

- libxml2
- ncurses

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.0.4
- 本地数据: OK
- 上游仓库: https://github.com/DE-IBH/apt-dater
- 检测到的最新版本: v1.0.4 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

apt-dater is a terminal tool for keeping one or more Debian GNU/Linux hosts up to date over SSH. It sits in the old sysadmin niche between package-manager front ends and fleet-management systems.

### 项目历史

The upstream README presents apt-dater as a management-server tool: copy example configuration into ~/.config/apt-dater, list managed hosts, and use SSH plus sudo on those hosts to run package updates.

Its 1.0-era releases show the tool maturing around terminal multiplexers, host refresh behavior, localization, reproducible builds, and configuration backend changes. Version 1.0.2 switched configuration handling to libxml2 and included conversion support for older hosts.conf data.

### 采用历史

apt-dater's adoption is mostly in Debian-style administration circles. The supplied package metadata records Debian, Ubuntu, Alpine, Nix, and Homebrew packages, which matches a tool aimed at Debian-family update workflows but useful from non-Debian admin workstations too.

The project is small compared with APT itself, but its presence in multiple package managers reflects a specific operator need: update many apt-managed machines without installing a heavier orchestration stack.

### 使用方式

A typical setup creates ~/.config/apt-dater/apt-dater.conf, hosts.conf, and screenrc on the management machine, generates an SSH key such as ~/.ssh/apt-dater, installs the public key on managed hosts, and configures sudo for apt-get and related commands.

The executable apt-dater coordinates the host view, while adsh acts as an SSH wrapper that can record sessions. The tool expects managed hosts to have SSH and sudo available.

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

apt-dater is package-nerd software in the literal sense: it is a package-update console for people who administer many apt machines. It exposes the social layer around apt operations: host inventory, SSH identity, sudo policy, terminal multiplexing, and update status.

It is also a reminder that not every package-management tool is a solver or repository system. Some are thin operational wrappers around existing package managers, and those wrappers matter when a fleet is still maintained by direct SSH.

### 时间线

- 2010s: apt-dater 0.9.x and 1.0.x releases refine cluster support, SSH/session handling, and terminal multiplexer behavior.
- 2014: 1.0.0 pre-release series includes libconfig-backed configuration and ADP 7.0 support.
- 2015: 1.0.2 switches the configuration engine to libxml2 and adds legacy hosts.conf conversion.
- 2021: 1.0.4 release includes tmux and Debian build-environment maintenance fixes.

### Related projects

- APT and apt-get are the package tools apt-dater drives on managed hosts.
- needrestart appears in upstream sudo examples for detecting services or kernels that need restart after upgrades.
- screen and tmux are related terminal multiplexer backends used by apt-dater workflows.

### 来源

- <https://github.com/DE-IBH/apt-dater#readme>
- <https://github.com/DE-IBH/apt-dater/releases>
- <https://raw.githubusercontent.com/DE-IBH/apt-dater/master/NEWS>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: ~/.config/apt-dater/apt-dater.conf, ~/.config/apt-dater/hosts.conf, ~/.config/apt-dater/screenrc

## Credential files

- Unix: ~/.ssh/apt-dater, ~/.ssh/apt-dater.pub
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** apt-dater
- **Version Scheme:** 1
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - apt-dater - 1.0.4-8+b2: normalized package name match | Debian stable package indexes: apt-dater from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | terminal-based remote package update manager | https://github.com/DE-IBH/apt-dater
- Nix - apt-dater: normalized package name match | nixpkgs package indexes: pkgs/by-name/ap/apt-dater/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - apt-dater - 1.0.4-8build2: normalized package name match | Ubuntu 24.04 LTS package indexes: apt-dater from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | terminal-based remote package update manager | https://github.com/DE-IBH/apt-dater
- apk - apt-dater - 1.0.4-r4: normalized package name match | Alpine Linux edge package indexes: apt-dater from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | terminal-based remote package update manager | https://github.com/DE-IBH/apt-dater
- apk - apt-dater-doc - 1.0.4-r4: normalized package name match | Alpine Linux edge package indexes: apt-dater-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | terminal-based remote package update manager (documentation) | https://github.com/DE-IBH/apt-dater
- apk - apt-dater-lang - 1.0.4-r4: normalized package name match | Alpine Linux edge package indexes: apt-dater-lang from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Languages for package apt-dater | https://github.com/DE-IBH/apt-dater


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gettext](https://www.automicvault.com/zh-hans/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/zh-hans/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [coreutils](https://www.automicvault.com/zh-hans/pkg/brew/coreutils/) - Build dependency declared by Homebrew.
- [aptly](https://www.automicvault.com/zh-hans/pkg/brew/aptly/) - Shares av.db curated category or tags: apt, cli, system.
- [dsh](https://www.automicvault.com/zh-hans/pkg/brew/dsh/) - Shares av.db curated category or tags: cli, ssh, system.
- [kanif](https://www.automicvault.com/zh-hans/pkg/brew/kanif/) - Shares av.db curated category or tags: cli, ssh, system.
- [mpssh](https://www.automicvault.com/zh-hans/pkg/brew/mpssh/) - Shares av.db curated category or tags: cli, ssh, system.
- [orgalorg](https://www.automicvault.com/zh-hans/pkg/brew/orgalorg/) - Shares av.db curated category or tags: cli, ssh, system.
- [rex](https://www.automicvault.com/zh-hans/pkg/brew/rex/) - Shares av.db curated category or tags: cli, ssh, system.
- [sshfs](https://www.automicvault.com/zh-hans/pkg/brew/sshfs/) - Shares av.db curated category or tags: cli, ssh, system.
- [symlinks](https://www.automicvault.com/zh-hans/pkg/brew/symlinks/) - Shares av.db curated category or tags: cli, maintenance, system.
- [fwupd](https://www.automicvault.com/zh-hans/pkg/brew/fwupd/) - Local package facts share a topical domain. Shared terms: cli, gettext, glib, system, updates.
- [appstream-glib](https://www.automicvault.com/zh-hans/pkg/brew/appstream-glib/) - Local package facts share a topical domain. Shared terms: cli, gettext, glib, system.

## Combined YAML source

View the package source record on GitHub. [combined/apt-dater.yml](https://github.com/automic-vault/db/blob/main/combined/apt-dater.yml)


## 来源

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