# 使用 Homebrew, apk, apt, MacPorts, Nix 安装 darkice

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

## 安装

```sh
sudo av install brew:darkice
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install darkice
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install darkice
```

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

### Linux

- apk (92%):

```sh
sudo apk add darkice
```

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

- Debian apt (92%):

```sh
sudo apt install darkice
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#darkice
```

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

## 软件包事实

- **软件包键:** brew:darkice
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/darkice>
- **版本:** 1.6
- **来源摘要:** Live audio streamer
- **主页:** <http://www.darkice.org/>
- **仓库:** <https://github.com/rafael2k/darkice>
- **上游文档:** <http://www.darkice.org/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/rafael2k/darkice/archive/refs/tags/v1.6.tar.gz>
- **最后更新:** 2026-07-24T00:13:11+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- darkice (cli)
- darkice (别名)

## 依赖

- faac
- fdk-aac
- jack
- lame
- libogg
- libsamplerate
- libvorbis
- two-lame

## 构建依赖

- autoconf
- automake
- libtool
- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.6
- 管理器更新时间: 2026-07-24
- 本地数据: OK
- 上游仓库: https://github.com/rafael2k/darkice
- 检测到的最新版本: v1.6 (当前)
## 项目历史与用法

DarkIce is a live audio streamer that records from an audio interface, encodes the stream, and sends it to streaming servers such as Icecast and ShoutCast.

### 项目历史

The official site names Akos Maroy as the initial author and Rafael Diniz as the current author and maintainer. It says DarkIce has been used in 24-hour production since fall 2000, and its ChangeLog starts with a 0.1 release in November 2000.

### 采用历史

DarkIce grew with early internet radio infrastructure: the official site documents OSS, ALSA, Solaris audio, Jack, PulseAudio, MP3, MP2, Ogg Vorbis, Opus, FLAC, AAC, ShoutCast, Icecast, Darwin Streaming Server, and Unix-like operating systems including FreeBSD, Linux, macOS, BSDs, and Solaris.

### 使用方式

The darkice command reads a configuration file, defaulting to /etc/darkice.cfg when no -c path is supplied. The man page documents sections for general settings, input, Icecast, Icecast2, ShoutCast, and file outputs, including password fields for streaming servers.

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

DarkIce is historically interesting because it packages a full live encoder/uploader workflow into a Unix daemon-style CLI with a plain text config file, matching the way many early online radio and community streaming setups were deployed.

### 时间线

- 2000: DarkIce 0.1 was released.
- 2001: ShoutCast, Ogg Vorbis, Solaris, FreeBSD, and man-page support appeared across early releases.
- 2005: 0.15 added Jack input support and BSD portability work.
- 2009: Rafael Diniz became maintainer in the 0.20 release.
- 2010: DarkIce 1.0 was released.
- 2024: v1.5 was published on GitHub.
- 2026: v1.6 was published on GitHub.

### Related projects

- The official site links DarkSnow as a GTK frontend and positions DarkIce around Icecast, ShoutCast, Darwin Streaming Server, LAME, TwoLame, Ogg Vorbis, Opus, FAAC, and libaacplus.

### 来源

- <http://www.darkice.org/>
- <https://github.com/rafael2k/darkice>
- <https://github.com/rafael2k/darkice/blob/master/darkice/ChangeLog>
- <https://github.com/rafael2k/darkice/releases>


## 安全说明

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: /etc/darkice.cfg
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** darkice
- **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 - darkice - 1.5-1: normalized package name match | Debian stable package indexes: darkice from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Live audio streamer | http://www.darkice.org/
- Nix - darkice: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/darkice/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - darkice - 1.3-0.3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: darkice from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | Live audio streamer | http://www.darkice.org/
- apk - darkice - 1.6-r0: normalized package name match | Alpine Linux edge package indexes: darkice from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server | http://www.darkice.org/
- apk - darkice-doc - 1.6-r0: normalized package name match | Alpine Linux edge package indexes: darkice-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server (documentation) | http://www.darkice.org/
- apk - darkice-openrc - 1.6-r0: normalized package name match | Alpine Linux edge package indexes: darkice-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server (OpenRC init scripts) | http://www.darkice.org/
- MacPorts - darkice: normalized package name match | MacPorts ports tree: audio/darkice/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [lame](https://pkg.so/zh-hans/brew/lame/) - Runtime dependency declared by Homebrew.
- [faac](https://pkg.so/zh-hans/brew/faac/) - Runtime dependency declared by Homebrew.
- [fdk-aac](https://pkg.so/zh-hans/brew/fdk-aac/) - Runtime dependency declared by Homebrew.
- [jack](https://pkg.so/zh-hans/brew/jack/) - Runtime dependency declared by Homebrew.
- [two-lame](https://pkg.so/zh-hans/brew/two-lame/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [tinyice](https://pkg.so/zh-hans/brew/tinyice/) - Shares pkgdb curated category or tags: audio, cli, icecast, media, streaming.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [gstreamer](https://pkg.so/zh-hans/brew/gstreamer/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [ffmpeg-full](https://pkg.so/zh-hans/brew/ffmpeg-full/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [libshout](https://pkg.so/zh-hans/brew/libshout/) - Shares pkgdb curated category or tags: audio, audio-streaming, cli, icecast, media.
- [musepack](https://pkg.so/zh-hans/brew/musepack/) - Shares pkgdb curated category or tags: audio, cli, encoder, media.
- [aften](https://pkg.so/zh-hans/brew/aften/) - Shares pkgdb curated category or tags: audio, cli, encoder, media.
- [snapcast](https://pkg.so/zh-hans/brew/snapcast/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [audacious](https://pkg.so/zh-hans/brew/audacious/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, lame, libogg, libsamplerate.
- [go-librespot](https://pkg.so/zh-hans/brew/go-librespot/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, libogg, libvorbis, media.

## Combined YAML source

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