# 使用 Homebrew, dnf 安装 src

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

## 安装

```sh
sudo av install brew:src
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install src
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install src
```

  证据: Fedora Rawhide package metadata: src from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:src
- **软件包管理器:** Homebrew
- **版本:** 1.45
- **来源摘要:** Simple revision control: RCS reloaded with a modern UI
- **主页:** <http://www.catb.org/~esr/src/>
- **最后更新:** 2026-05-20T15:38:01Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- src (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

`src` is Eric S. Raymond's simple revision-control tool for solo, single-file projects. It wraps old RCS and SCCS storage ideas in a more modern command-line interface for people who want version history for loose scripts, HOWTOs, and small files without creating a full Git repository.

### 项目历史

The official manual describes SRC as simple revision control for single-file projects by solo developers and authors, explicitly calling it a modernization of RCS. The FAQ frames the tool as a response to modern VCS tools that are powerful for multi-user, multi-file projects but awkward for small private files.

SRC is built on top of RCS rather than reimplementing RCS master-file internals. It can also operate on SCCS repositories, mostly for legacy compatibility, while its default storage directory is `.src`.

### 采用历史

The package metadata in this batch shows `src` available through Homebrew and Fedora/DNF. That is a modest but meaningful packaging footprint for a niche developer tool: it is not trying to replace Git, but package managers make it easy to install alongside RCS for the narrow single-file use case.

### 使用方式

Typical use is deliberately small: initialize a directory, commit one or more files, inspect status and logs, and retrieve previous revisions. The manual documents RCS/SCCS interoperability, import from RCS or SCCS directories, and commands shaped to feel familiar to Subversion, Mercurial, and Git users.

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

`src` is interesting to package nerds because it is a compatibility-layer package around very old Unix version-control machinery. It preserves the single-file workflow that RCS was good at while exposing a friendlier CLI, so the packaging question is less about ecosystem size and more about keeping a classic Unix niche installable.

### 时间线

- 1970s-1980s: SCCS and RCS established the single-file version-control lineage that SRC later wraps.
- 2010s: SRC 1.x series published with a public GitLab repository and CATB-hosted documentation.
- 2020s: SRC documentation continues to describe RCS as the recommended backend and SCCS as legacy support.

### Related projects

- SRC is directly related to RCS and SCCS, and its FAQ compares its command style with Subversion, Mercurial, and Git.

### 来源

- <http://www.catb.org/~esr/src/FAQ.html>
- <http://www.catb.org/~esr/src/src.html>
- <https://gitlab.com/esr/src>
- source_facts.package-manager


## 安全说明

没有找到 src 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- dnf - src - 1.38-6.fc45: normalized package name match | Fedora Rawhide package metadata: src from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Simple Revision Control | https://gitlab.com/esr/src


## Combined YAML source

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


## 来源

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