# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 darcs

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

## 安装

```sh
sudo av install brew:darcs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install darcs
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install darcs
```

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

### Linux

- apk (92%):

```sh
sudo apk add darcs
```

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

- Debian apt (92%):

```sh
sudo apt install darcs
```

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

- dnf (92%):

```sh
sudo dnf install darcs
```

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

  证据: nixpkgs package indexes: darcs from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S darcs
```

  证据: Arch Linux sync databases: darcs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:darcs
- **软件包管理器:** Homebrew
- **版本:** 2.18.5
- **来源摘要:** Distributed version control system that tracks changes, via Haskell
- **主页:** <https://darcs.net/>
- **最后更新:** 2026-07-22T03:36:11Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- darcs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Darcs is a free, open-source distributed version control system written in Haskell and known for modeling work as patches rather than repository snapshots.

### 项目历史

The Darcs site contrasts Darcs with Git, Mercurial, and Subversion by emphasizing changes instead of snapshots. Its documentation and talks center on patch theory, commute behavior, and a contributor flow built around screened and reviewed repositories.

### 采用历史

Darcs has been a durable niche VCS in the Haskell and functional-programming world: it remains packaged by major Unix package managers, published on Hackage/cabal workflows, and hosted on Darcs Hub, which the project names as today's place for Darcs project hosting.

### 使用方式

Users clone repositories, record patches, inspect authors, send or upload patches for review, and tune behavior through repository-local _darcs/prefs files or per-user ~/.darcs files.

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

For package nerds, Darcs is a reminder that version control history is not just Git history: it carries its own repository format, hosting culture, patch-screening workflow, Haskell toolchain requirements, and config file conventions.

### 时间线

- 2000s: David Roundy's Darcs and patch-theory work established the project's distinctive model.
- 2010s: Darcs Hub and darcsden-style hosting became the main public hosting story for Darcs users.
- 2026: The Darcs front page lists Darcs 2.18.5 and cabal, stack, Nix, binary, and source install paths.

### Related projects

- Darcs is commonly compared with Git, Mercurial, and Subversion, and its ecosystem includes Darcs Hub, darcsden, Trac Darcs integrations, Hackage/cabal packaging, and the Darcs wiki itself.

### 来源

- <https://darcs.net/>
- <https://darcs.net/Talks/DagitThesis>
- <https://darcs.net/Development/GettingStarted>
- <https://darcs.net/Development/FAQ>
- <https://darcs.net/Using/Configuration>
- <https://darcs.net/Hosting>
- <https://hub.darcs.net/darcs/darcs-screened>


## 安全说明

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: ~/.darcs/defaults, _darcs/prefs/defaults, ~/.darcs/author, _darcs/prefs/author
## 其他软件包管理器记录

- Debian apt - darcs - 2.18.4-1: normalized package name match | Debian stable package indexes: darcs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed, interactive, smart revision control system | http://darcs.net/
- Nix - darcs: normalized package name match | nixpkgs package indexes: darcs from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - darcs - 2.18.5-r1: normalized package name match | Alpine Linux edge package indexes: darcs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Patch-based revision control system | https://darcs.net/
- apk - darcs-doc - 2.18.5-r1: normalized package name match | Alpine Linux edge package indexes: darcs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Patch-based revision control system (documentation) | https://darcs.net/
- dnf - darcs - 2.18.5-52.fc45: normalized package name match | Fedora Rawhide package metadata: darcs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A distributed, interactive, smart revision control system | https://hackage.haskell.org/package/darcs
- dnf - ghc-darcs - 2.18.5-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-darcs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell darcs library | https://hackage.haskell.org/package/darcs
- dnf - ghc-darcs-devel - 2.18.5-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-darcs-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell darcs library development files | https://hackage.haskell.org/package/darcs
- dnf - ghc-darcs-doc - 2.18.5-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-darcs-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell darcs library documentation | https://hackage.haskell.org/package/darcs
- dnf - ghc-darcs-prof - 2.18.5-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-darcs-prof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell darcs profiling library | https://hackage.haskell.org/package/darcs
- dnf - ghc-data-ordlist - 0.4.7.0-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-data-ordlist from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell data-ordlist library | https://hackage.haskell.org/package/data-ordlist
- dnf - ghc-data-ordlist-devel - 0.4.7.0-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-data-ordlist-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell data-ordlist library development files | https://hackage.haskell.org/package/darcs
- dnf - ghc-data-ordlist-doc - 0.4.7.0-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-data-ordlist-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell data-ordlist library documentation | https://hackage.haskell.org/package/darcs
- dnf - ghc-data-ordlist-prof - 0.4.7.0-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-data-ordlist-prof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell data-ordlist profiling library | https://hackage.haskell.org/package/darcs
- dnf - ghc-strict-identity - 0.1.0.0-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-strict-identity from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell strict-identity library | https://hackage.haskell.org/package/strict-identity
- dnf - ghc-strict-identity-devel - 0.1.0.0-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-strict-identity-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell strict-identity library development files | https://hackage.haskell.org/package/darcs
- dnf - ghc-strict-identity-doc - 0.1.0.0-52.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-strict-identity-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell strict-identity library documentation | https://hackage.haskell.org/package/darcs


## Combined YAML source

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