# 使用 Homebrew, apt, MacPorts, Nix 安装 daemon

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

## 安装

```sh
sudo av install brew:daemon
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install daemon
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install daemon
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install daemon
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#daemon
```

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

## 软件包事实

- **软件包键:** brew:daemon
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/daemon>
- **版本:** 0.8.4
- **来源摘要:** Turn other processes into daemons
- **主页:** <https://libslack.org/daemon/>
- **上游文档:** <https://libslack.org/daemon/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://libslack.org/daemon/download/daemon-0.8.4.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- daemon (cli)
- daemon (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.4
- 本地数据: OK
- 上游仓库: https://libslack.org/daemon/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

daemon is a Unix command that turns other processes into daemon-style background services, adding process setup, pidfile management, logging, respawn behavior, and optional configuration files around a client command.

### 项目历史

The official libslack page describes daemon as a companion to libslack's daemonization functionality: it performs the process-context work for programs written in languages or scripts that do not daemonize themselves.

### 采用历史

daemon fits a long Unix packaging niche: small service-wrapper commands that predate or complement init systems. Its official page lists Linux, BSD, Solaris, and macOS-oriented keywords and maintains downloadable source tarballs rather than advertising an official source-control repository.

### 使用方式

Users invoke daemon around another command, optionally name it, write and lock pidfiles, send output to syslog, respawn it, and define default options in system or per-user configuration files.

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

The package is interesting because it preserves an old-school Unix service-wrapper workflow in modern package managers: one small executable, a manpage, configuration files, and source tarballs from an upstream software page.

### 时间线

- 0.6.4: Official download table lists a final 0.6.4 tarball.
- 0.8.4: Official download table lists daemon-0.8.4 as the current source tarball.

### Related projects

- daemon is related to libslack, daemonize, system daemonization APIs, pidfile-based service wrappers, and Unix init/service supervision tools.

### 来源

- <https://libslack.org/daemon>
- <https://libslack.org/daemon/manual/daemon.1.html>


## 安全说明

narrow executable package without higher-risk signals.

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


## 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: /etc/daemon.conf, ~/.daemonrc
## 源数据库详情

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

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

- Debian apt - daemon - 0.8.4-1: normalized package name match | Debian stable package indexes: daemon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | turns other processes into daemons | https://libslack.org/daemon/
- Nix - daemon: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/daemon/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - daemon - 0.8.4-1: normalized package name match | Ubuntu 24.04 LTS package indexes: daemon from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | turns other processes into daemons | https://libslack.org/daemon/
- MacPorts - daemon: normalized package name match | MacPorts ports tree: sysutils/daemon/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [daemonize](https://pkg.so/zh-hans/brew/daemonize/) - Shares pkgdb curated category or tags: cli, daemonization, process-management, system, unix.
- [lockrun](https://pkg.so/zh-hans/brew/lockrun/) - Shares pkgdb curated category or tags: cli, process-management, system, unix.
- [cpulimit](https://pkg.so/zh-hans/brew/cpulimit/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [killport](https://pkg.so/zh-hans/brew/killport/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [detach](https://pkg.so/zh-hans/brew/detach/) - Shares pkgdb curated category or tags: cli, process-management, system, unix.
- [procs](https://pkg.so/zh-hans/brew/procs/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [supervisor](https://pkg.so/zh-hans/brew/supervisor/) - Shares pkgdb curated category or tags: cli, process-management, system, unix.
- [reattach-to-user-namespace](https://pkg.so/zh-hans/brew/reattach-to-user-namespace/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [jsvc](https://pkg.so/zh-hans/brew/jsvc/) - Local package facts share a topical domain. Shared terms: cli, daemon, daemons, management, service.

## Combined YAML source

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


## 来源

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