# 使用 Homebrew, apt, Nix, pacman, zypper 安装 bup

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

## 安装

```sh
sudo av install brew:bup
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bup
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bup
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#bup
```

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

- pacman (92%):

```sh
sudo pacman -S bup
```

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

- zypper (92%):

```sh
sudo zypper install bup
```

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

## 软件包事实

- **软件包键:** brew:bup
- **软件包管理器:** Homebrew
- **版本:** 0.33.10
- **来源摘要:** Backup tool
- **主页:** <https://bup.github.io/>
- **仓库:** <https://github.com/bup/bup>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bup (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

bup is a Git-packfile-based backup system known for fast incremental backups, rolling-checksum chunking, and global deduplication. It became one of the classic examples of reusing Git's storage format outside source control, especially for large files such as virtual-machine images.

### 项目历史

Avery Pennarun announced bup 0.01 on January 4, 2010 after writing it during a Christmas break. The original announcement and the current README emphasize the same core design: split input with an rsync-like rolling checksum, store data in Git packfiles, write packfiles directly for performance, and allow data to be addressed in a way Git tooling can still understand.

The project later moved under the bup GitHub organization and retained its own documentation site, man pages, release notes, and mailing-list workflow. Its README still warns that backups are a serious domain while documenting broad Unix-like support, optional par2 redundancy, FUSE access, remote backup over SSH, and Python/C implementation details.

### 采用历史

bup was noticed quickly in the Unix backup community because it combined Git's content-addressed storage ideas with backup-oriented behavior that plain Git does not handle well. The input metadata records packaging across Homebrew, Debian, Ubuntu, Nix, Arch, and openSUSE, which reflects its long-running availability in both source-based and distribution package ecosystems.

### 使用方式

Common usage follows a simple CLI flow: initialize a bup repository, index paths, save backups, then restore or browse snapshots. bup is especially associated with large mutable files because chunking lets later backups reuse most existing data even when the file as a whole has changed.

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

bup matters to package nerds because it is a durable example of borrowing a version-control storage primitive for system administration. It also represents an era when Git's object model inspired backup, archival, and deduplicating-storage tools, before later encrypted deduplicating backup tools such as Attic, Borg, Restic, and Bupstash became common comparisons.

### 时间线

- 2010-01-04: bup 0.01 announced by Avery Pennarun.
- 2012: The current bup/bup GitHub repository was created under the bup organization.
- 2015: The bup.github.io site described bup as an efficient backup system based on Git packfiles.
- 2026: The project remains active with documented 0.33.x releases.

### Related projects

- bup is directly related to Git, rsync-style rolling checksums, par2 recovery data, and FUSE mounting. In backup-tool discussions it is commonly compared with rdiff-backup, Duplicity, Borg, Restic, and Bupstash.

### 来源

- <https://apenwarr.ca/log/20100104>
- <https://bup.github.io/>
- <https://bup.github.io/man.html>
- <https://github.com/bup/bup>
- source_facts.package-manager


## 安全说明

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: ~/.bup/config
## 其他软件包管理器记录

- Debian apt - bup - 0.33.7-1: normalized package name match | Debian stable package indexes: bup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | highly efficient file backup system based on git | https://github.com/bup/bup
- Debian apt - bup-doc - 0.33.7-1: normalized package name match | Debian stable package indexes: bup-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | highly efficient file backup system based on git (documentation) | https://github.com/bup/bup
- Nix - bup: normalized package name match | nixpkgs package indexes: pkgs/by-name/bu/bup/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bup - 0.33.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: bup from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | highly efficient file backup system based on git | https://github.com/bup/bup
- Ubuntu apt - bup-doc - 0.33.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: bup-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | highly efficient file backup system based on git (documentation) | https://github.com/bup/bup
- pacman - bup - 0.33.10-1: normalized package name match | Arch Linux sync databases: bup from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Efficient backup system based on the git packfile format | https://bup.github.io/
- zypper - bup - 0.33.10-1.5: normalized package name match | openSUSE Tumbleweed package metadata: bup from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Backup program based on git | https://bup.github.io/


## Combined YAML source

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