# 使用 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
- **版本:** 0.8.4
- **来源摘要:** Turn other processes into daemons
- **主页:** <https://libslack.org/daemon/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- daemon (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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


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