# 使用 Homebrew, apk, apt, MacPorts, Nix 安装 cvs-fast-export

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

## 安装

```sh
sudo av install brew:cvs-fast-export
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cvs-fast-export
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cvs-fast-export
```

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

### Linux

- apk (92%):

```sh
sudo apk add cvs-fast-export
```

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

- Debian apt (92%):

```sh
sudo apt install cvs-fast-export
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#cvs-fast-export
```

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

## 软件包事实

- **软件包键:** brew:cvs-fast-export
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cvs-fast-export>
- **版本:** 2.3
- **来源摘要:** Export an RCS or CVS history as a fast-import stream
- **主页:** <http://www.catb.org/~esr/cvs-fast-export/>
- **上游文档:** <http://www.catb.org/~esr/cvs-fast-export/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://gitlab.com/esr/cvs-fast-export/-/archive/2.3/cvs-fast-export-2.3.tar.bz2>
- **最后更新:** 2026-07-27T22:04:06+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cvs-fast-export (cli)
- cvsconvert (cli)
- cvssync (cli)
- cvs-fast-export (别名)
- cvsconvert (别名)
- cvssync (别名)

## 构建依赖

- asciidoctor
- go

## macOS 提供的库

- python

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.3
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: http://www.catb.org/~esr/cvs-fast-export/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

cvs-fast-export converts RCS or CVS repository history into a Git fast-import stream. Its official README says it analyzes RCS master files, emits a fast-import history when possible, warns on histories it cannot represent, and can also visualize the resulting commit DAG.

### 项目历史

The official hacker's guide says the program began as Keith Packard's one-off `parsecvs` hack in early 2006 during the X repository migration from CVS to Git. Bart Massey briefly maintained it before Eric S. Raymond took over in late 2012, added the fast-export output stage, renamed the project, and later made the parser re-entrant and parallelized master-file ingestion.

### 采用历史

The tool belongs to the post-CVS migration era, where package maintainers and project archivists needed trustworthy conversion of old CVS and RCS histories into Git. The official resource page explicitly notes that it is commonly packaged as cvs-fast-export and that related package names include cvs-fast-export-tools and cvs-fast-export-doc.

### 使用方式

Users point cvs-fast-export at CVS or RCS master files and pipe or save the generated stream for Git import. The distribution also ships `cvssync` for fetching remote CVS masters, `cvsconvert` for trial conversion and content-mismatch checks against the original CVS, and `cvsstrip` for reducing bug reports to metadata-only trees.

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

For package-history work, cvs-fast-export is unusually meta: it exists to rescue the history behind older packages. Its NEWS file documents years of edge-case fixes around CVS timestamps, vendor branches, ignore files, branch topology, fast-export compatibility, and in 2026 a port from C to Go intended to eliminate chronic memory-corruption failure modes.

### 时间线

- 2006: Originated as Keith Packard's `parsecvs` during the X CVS-to-Git migration.
- 2012: Eric S. Raymond took over maintenance and added fast-export output.
- 2015: GitLab project created and release 1.32 noted a source type declaration for reposurgeon.
- 2020: buildprep script added to simplify source builds.
- 2026: Version 2.0 ported the code to Go.
- 2026: Version 2.2 released on June 21.

### Related projects

- The README and hacker's guide connect cvs-fast-export to Git fast-import, CVS, RCS, Graphviz DOT output, reposurgeon, cvssync, cvsconvert, and cvsstrip.

### 来源

- <http://www.catb.org/~esr/cvs-fast-export/>
- <https://gitlab.com/esr/cvs-fast-export/-/raw/master/README.adoc>
- <https://gitlab.com/esr/cvs-fast-export/-/raw/master/NEWS.adoc>
- <https://gitlab.com/esr/cvs-fast-export/-/raw/master/hacking.adoc>
- <https://gitlab.com/api/v4/projects/esr%2Fcvs-fast-export>
- <https://gitlab.com/esr/cvs-fast-export/-/tags?format=atom>


## 安全说明

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

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

## 源数据库详情

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

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

- Debian apt - cvs-fast-export - 1.59-1+b1: normalized package name match | Debian stable package indexes: cvs-fast-export from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Export an RCS or CVS history as a fast-import stream | http://www.catb.org/esr/cvs-fast-export/
- Nix - cvs-fast-export: normalized package name match | nixpkgs package indexes: pkgs/by-name/cv/cvs-fast-export/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cvs-fast-export - 1.59-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cvs-fast-export from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Export an RCS or CVS history as a fast-import stream | http://www.catb.org/esr/cvs-fast-export/
- apk - cvs-fast-export - 1.68-r0: normalized package name match | Alpine Linux edge package indexes: cvs-fast-export from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Export RCS or CVS history as a fast-import stream | http://www.catb.org/esr/cvs-fast-export/
- apk - cvs-fast-export-doc - 1.68-r0: normalized package name match | Alpine Linux edge package indexes: cvs-fast-export-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Export RCS or CVS history as a fast-import stream (documentation) | http://www.catb.org/esr/cvs-fast-export/
- apk - cvs-fast-export-tools - 1.68-r0: normalized package name match | Alpine Linux edge package indexes: cvs-fast-export-tools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Export RCS or CVS history as a fast-import stream (extra tools) | http://www.catb.org/esr/cvs-fast-export/
- MacPorts - cvs-fast-export: normalized package name match | MacPorts ports tree: devel/cvs-fast-export/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [asciidoctor](https://pkg.so/zh-hans/brew/asciidoctor/) - Build dependency declared by Homebrew.
- [cvs](https://pkg.so/zh-hans/brew/cvs/) - Shares pkgdb curated category or tags: cli, cvs, developer-tools, version-control.
- [cvsync](https://pkg.so/zh-hans/brew/cvsync/) - Shares pkgdb curated category or tags: cli, cvs, developer-tools, version-control.
- [git-svn-abandon](https://pkg.so/zh-hans/brew/git-svn-abandon/) - Shares pkgdb curated category or tags: cli, developer-tools, migration, version-control.
- [libgit2](https://pkg.so/zh-hans/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [lazygit](https://pkg.so/zh-hans/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [mercurial](https://pkg.so/zh-hans/brew/mercurial/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [repo](https://pkg.so/zh-hans/brew/repo/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [lazyjj](https://pkg.so/zh-hans/brew/lazyjj/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [reposurgeon](https://pkg.so/zh-hans/brew/reposurgeon/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.
- [src](https://pkg.so/zh-hans/brew/src/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, rcs.

## Combined YAML source

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


## 来源

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