# 使用 Homebrew, apk, apt, dnf, MacPorts, pacman, zypper, chocolatey 安装 subversion

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

## 安装

```sh
sudo av install brew:subversion
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install subversion
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install subversion
```

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

### Linux

- apk (92%):

```sh
sudo apk add subversion
```

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

- Debian apt (92%):

```sh
sudo apt install subversion
```

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

- dnf (92%):

```sh
sudo dnf install subversion
```

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

- pacman (92%):

```sh
sudo pacman -S subversion
```

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

- zypper (92%):

```sh
sudo zypper install subversion
```

  证据: openSUSE Tumbleweed package metadata: subversion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install svn
```

  证据: Chocolatey community package catalog: svn from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','striata-reader'

## 软件包事实

- **软件包键:** brew:subversion
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/subversion>
- **版本:** 1.14.5
- **来源摘要:** Version control system designed to be a better CVS
- **主页:** <https://subversion.apache.org/>
- **仓库:** <https://github.com/apache/subversion>
- **上游文档:** <https://subversion.apache.org/>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=subversion/subversion-1.14.5.tar.bz2>
- **最后更新:** 2026-07-13T17:31:48+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- svn (cli)
- svnadmin (cli)
- svnbench (cli)
- svndumpfilter (cli)
- svnfsfs (cli)
- svnlook (cli)
- svnmucc (cli)
- svnrdump (cli)
- svnserve (cli)
- svnsync (cli)
- svnversion (cli)
- svn (别名)
- svnadmin (别名)
- svnbench (别名)
- svndumpfilter (别名)
- svnfsfs (别名)
- svnlook (别名)
- svnmucc (别名)
- svnrdump (别名)
- svnserve (别名)
- svnsync (别名)
- svnversion (别名)

## 依赖

- apache-serf
- apr
- apr-util
- gettext
- lz4
- utf8proc

## 构建依赖

- gettext
- pkgconf
- python-setuptools
- python@3.14
- swig

## macOS 提供的库

- expat
- sqlite

## 安装行为

- post-install 钩子: 未定义
- 注意事项: svntools have been installed to: $HOMEBREW_PREFIX/opt/subversion/libexec The perl bindings are located in various subdirectories of: $HOMEBREW_PREFIX/opt/subversion/lib/perl5
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.14.5
- 管理器更新时间: 2026-07-13
- 本地数据: OK
- 上游仓库: https://subversion.apache.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Apache Subversion is a centralized version control system, commonly invoked as `svn`. In package-manager culture it is both a historical default and a still-shipped compatibility tool: many build scripts, vendor drops, enterprise repositories, and old open-source workflows continue to assume an `svn` client.

### 项目历史

The official Apache Subversion site says the project was founded in 2000 by CollabNet and positions it as enterprise-class centralized version control. Its original appeal was to be a practical successor to CVS while preserving a simple command-line workflow and a central repository model.

Subversion 1.0 arrived in 2004, and the release-history pages show a long-running 1.x line with compatibility as a major theme. Later releases added working-copy metadata changes, improved HTTP behavior, `svnrdump`, `svn patch`, authz improvements, shelving/checkpointing experiments, and an LTS release cadence.

### 采用历史

Apache's front page states that Subversion saw widespread adoption in both open source and corporate use. That adoption explains why package managers still carry a broad Subversion toolset: not just `svn`, but administrative and repository utilities such as `svnadmin`, `svnlook`, `svnsync`, `svnserve`, and dump/filter tools.

### 使用方式

Subversion is used to check out, update, commit, branch, tag, serve, inspect, dump, and synchronize centralized repositories. The official quick start emphasizes installing the `svn` client and using it to interact with remote repositories, while the source-code page demonstrates Subversion self-hosting its own source in an Apache SVN repository.

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

Package nerds care about Subversion because it is a compatibility anchor. Even in a Git-dominated world, packaging `svn` keeps old source fetchers, enterprise workflows, vendor import scripts, and build systems functional. It is also a reminder that package ecosystems preserve operational history, not only fashionable tools.

### 时间线

- 2000: CollabNet founds the Subversion project.
- 2004: Subversion 1.0 is released.
- 2009: Subversion enters the Apache Incubator era.
- 2010: Subversion becomes an Apache top-level project.
- 2020: Apache Subversion 1.14 becomes the next LTS line after 1.10.

### Related projects

- Subversion was explicitly shaped by CVS-era centralized version-control workflows, and it is commonly contrasted with distributed systems such as Git and Mercurial. On servers it is closely associated with Apache HTTP Server integration through `mod_dav_svn` and with `svnserve`.

### 来源

- Official 1.14 release notes: https://subversion.apache.org/docs/release-notes/1.14
- Official project page: https://subversion.apache.org/
- Official quick start: https://subversion.apache.org/quick-start.html
- Official release history: https://subversion.apache.org/docs/release-notes/release-history.html
- Official source-code page: https://subversion.apache.org/source-code.html


## 安全说明

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: ~/.subversion/config, ~/.subversion/servers, /etc/subversion/config, /etc/subversion/servers
- Windows: %APPDATA%/Subversion/config, %APPDATA%/Subversion/servers

## Credential files

- Unix: ~/.subversion/auth
- Windows: %APPDATA%/Subversion/auth
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** subversion
- **Aliases:** svn
- **Version Scheme:** 0
- **Revision:** 4
- **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 - libapache2-mod-svn - 1.14.5-3: normalized package name match | Debian stable package indexes: libapache2-mod-svn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Subversion server modules for Apache httpd | http://subversion.apache.org/
- Debian apt - libsvn-dev - 1.14.5-3: normalized package name match | Debian stable package indexes: libsvn-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for Apache Subversion libraries | http://subversion.apache.org/
- Debian apt - libsvn-doc - 1.14.5-3: normalized package name match | Debian stable package indexes: libsvn-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Developer documentation for libsvn | http://subversion.apache.org/
- Debian apt - libsvn-java - 1.14.5-3: normalized package name match | Debian stable package indexes: libsvn-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Java bindings for Apache Subversion | http://subversion.apache.org/
- Debian apt - libsvn-perl - 1.14.5-3: normalized package name match | Debian stable package indexes: libsvn-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl bindings for Apache Subversion | http://subversion.apache.org/
- Debian apt - libsvn1 - 1.14.5-3: normalized package name match | Debian stable package indexes: libsvn1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Shared libraries used by Apache Subversion | http://subversion.apache.org/
- Debian apt - python3-subversion - 1.14.5-3: normalized package name match | Debian stable package indexes: python3-subversion from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python3 bindings for Apache Subversion | http://subversion.apache.org/
- Debian apt - ruby-svn - 1.14.5-3: normalized package name match | Debian stable package indexes: ruby-svn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ruby bindings for Apache Subversion | http://subversion.apache.org/
- Debian apt - subversion - 1.14.5-3: normalized package name match | Debian stable package indexes: subversion from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Advanced version control system | http://subversion.apache.org/
- Debian apt - subversion-tools - 1.14.5-3: normalized package name match | Debian stable package indexes: subversion-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Assorted tools related to Apache Subversion | http://subversion.apache.org/
- Ubuntu apt - libapache2-mod-svn - 1.14.3-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libapache2-mod-svn from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Subversion server modules for Apache httpd | http://subversion.apache.org/
- Ubuntu apt - libsvn-dev - 1.14.3-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsvn-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for Apache Subversion libraries | http://subversion.apache.org/
- Ubuntu apt - libsvn-doc - 1.14.3-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsvn-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Developer documentation for libsvn | http://subversion.apache.org/
- Ubuntu apt - libsvn-java - 1.14.3-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsvn-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Java bindings for Apache Subversion | http://subversion.apache.org/
- Ubuntu apt - libsvn-perl - 1.14.3-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsvn-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Perl bindings for Apache Subversion | http://subversion.apache.org/
- Ubuntu apt - libsvn1 - 1.14.3-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsvn1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Shared libraries used by Apache Subversion | http://subversion.apache.org/


## 相关链接

- [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.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [apr](https://pkg.so/zh-hans/brew/apr/) - Runtime dependency declared by Homebrew.
- [apr-util](https://pkg.so/zh-hans/brew/apr-util/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Build dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [git-svn](https://pkg.so/zh-hans/brew/git-svn/) - Popular package that depends on this formula.
- [git](https://pkg.so/zh-hans/brew/git/) - Shares pkgdb curated category or tags: cli, developer-tools, source-control, version-control.
- [gource](https://pkg.so/zh-hans/brew/gource/) - Shares pkgdb curated category or tags: cli, developer-tools, svn, version-control.
- [cvs](https://pkg.so/zh-hans/brew/cvs/) - Shares pkgdb curated category or tags: cli, developer-tools, source-control, version-control.
- [rcs](https://pkg.so/zh-hans/brew/rcs/) - Shares pkgdb curated category or tags: cli, developer-tools, source-control, version-control.
- [libgit2](https://pkg.so/zh-hans/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, version-control.
- [git-lfs](https://pkg.so/zh-hans/brew/git-lfs/) - 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.

## Combined YAML source

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