# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.14.5
- **来源摘要:** Version control system designed to be a better CVS
- **主页:** <https://subversion.apache.org/>
- **仓库:** <https://github.com/apache/subversion>
- **最后更新:** 2026-07-13T17:31:48+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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/


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
