# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 duplicity

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

## 安装

```sh
sudo av install brew:duplicity
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install duplicity
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duplicity
```

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

### Linux

- apk (92%):

```sh
sudo apk add duplicity
```

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

- Debian apt (92%):

```sh
sudo apt install duplicity
```

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

- dnf (92%):

```sh
sudo dnf install duplicity
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#duplicity
```

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

- pacman (92%):

```sh
sudo pacman -S duplicity
```

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

- zypper (92%):

```sh
sudo zypper install duplicity
```

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

## 软件包事实

- **软件包键:** brew:duplicity
- **软件包管理器:** Homebrew
- **版本:** 3.1.0
- **来源摘要:** Bandwidth-efficient encrypted backup
- **主页:** <https://gitlab.com/duplicity/duplicity>
- **最后更新:** 2026-07-16T12:50:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- duplicity (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

duplicity is a long-running encrypted, bandwidth-efficient backup tool. It backs up directories by creating encrypted tar-format volumes and uploading them to local or remote storage, using librsync so incrementals record only changed parts of files.

### 项目历史

duplicity's public identity has stayed remarkably stable: encrypted remote backups built from tar, GnuPG, and the rsync algorithm. The official site describes this design directly and notes that the package also includes `rdiffdir`, an extension of librsync's `rdiff` idea to directories.

The project later moved its public development to GitLab, where the repository metadata records the current project namespace as created in 2019. The official site still links to older Launchpad downloads for historical releases, showing a longer project history than the GitLab creation date alone.

By 2026 duplicity had reached the 3.x series, with the official site listing 3.1.0 as the current release on June 16, 2026. The stable README also reflects modern Python packaging changes, recommending pipx/venv-style installs for Python 3.11-era externally managed environments.

### 采用历史

duplicity's adoption rests on a simple Unix promise: encrypted incremental backups to many storage protocols from a CLI. The official site says it is mature software used for large personal and corporate backups.

The project is packaged broadly across Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE-style ecosystems in the batch metadata. The official site also names Fedora, Debian, and Ubuntu distribution inclusion, reinforcing its long-standing Linux distribution presence.

Its ecosystem includes frontends such as Déjà Dup and duply. The official duplicity homepage points to Déjà Dup releases and describes duply as a shell frontend formerly known as ftplicity.

### 使用方式

Typical usage is to run duplicity against a source directory and a target URL, using GnuPG keys or passphrases for encryption/signing and a backend URL for storage. Supported backends listed by the official site include S3, Backblaze B2, Dropbox, FTP, GIO, Google Drive, IMAP, local filesystem, Mega, Azure, OneDrive, rclone, rsync, SSH/SCP, SwiftStack, Tahoe-LAFS, and WebDAV.

duplicity supports deleted files, Unix permissions, directories, symbolic links, FIFOs, and device files, but the official site notes hard links are not supported. Administrators often wrap it in cron jobs, system scripts, duply profiles, or GUI frontends.

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

duplicity matters to package maintainers because it is old, security-sensitive infrastructure at the intersection of Python packaging, GnuPG, librsync, remote-storage SDKs, and system backup policy.

It also anchors a family of related packages. Duplicacy's README compares itself directly with duplicity, and duply exists primarily to profile and automate duplicity invocations. That makes duplicity both an executable and a reference point in backup-tool design debates.

### 时间线

- 2000s: duplicity establishes its core model of encrypted tar volumes plus librsync-based incrementals.
- 2019: The current GitLab project namespace is created.
- 2025: duplicity 3.0.x releases continue through GitLab tags.
- 2026: duplicity 3.1.0 is released on June 16, 2026 according to the official homepage.

### Related projects

- librsync and GnuPG are core dependencies in duplicity's design.
- rdiff-backup is historically adjacent and is linked from duplicity's site.
- Déjà Dup and duply are prominent frontends called out by the official homepage.
- Duplicacy, restic, Duplicati, bup, and Attic are related backup tools often compared with duplicity.

### 来源

- <https://duplicity.us/ documents the core design, maturity/adoption statement, supported backends, current release, related frontends, and distribution inclusion.>
- <https://duplicity.us/stable/README.html documents modern installation and development guidance.>
- <https://duplicity.us/stable/duplicity.1.html documents command-line behavior and backend URL usage.>
- <https://gitlab.com/api/v4/projects/duplicity%2Fduplicity documents current GitLab repository metadata.>
- <https://gitlab.com/api/v4/projects/duplicity%2Fduplicity/repository/tags?per_page=20 documents recent release tags.>


## 安全说明

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


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

- Debian apt - duplicity - 3.0.4-1+b1: normalized package name match | Debian stable package indexes: duplicity from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | encrypted bandwidth-efficient backup | https://duplicity.gitlab.io/
- Nix - duplicity: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/duplicity/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - duplicity - 2.1.4-3ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: duplicity from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | encrypted bandwidth-efficient backup | https://duplicity.gitlab.io/
- apk - duplicity - 3.1.0-r0: normalized package name match | Alpine Linux edge package indexes: duplicity from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Encrypted bandwidth-efficient backup using the rsync algorithm | https://duplicity.gitlab.io/duplicity-web/
- apk - duplicity-doc - 3.1.0-r0: normalized package name match | Alpine Linux edge package indexes: duplicity-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Encrypted bandwidth-efficient backup using the rsync algorithm (documentation) | https://duplicity.gitlab.io/duplicity-web/
- apk - duplicity-lang - 3.1.0-r0: normalized package name match | Alpine Linux edge package indexes: duplicity-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package duplicity | https://duplicity.gitlab.io/duplicity-web/
- apk - duplicity-pyc - 3.1.0-r0: normalized package name match | Alpine Linux edge package indexes: duplicity-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for duplicity | https://duplicity.gitlab.io/duplicity-web/
- dnf - duplicity - 3.1.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: duplicity from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Encrypted bandwidth-efficient backup using rsync algorithm | https://duplicity.gitlab.io/
- pacman - duplicity - 3.1.0-1: normalized package name match | Arch Linux sync databases: duplicity from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A utility for encrypted, bandwidth-efficient backups using the rsync algorithm | https://duplicity.gitlab.io/
- zypper - duplicity - 3.1.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: duplicity from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Encrypted bandwidth-efficient backup using the rsync algorithm | https://duplicity.gitlab.io/
- zypper - duplicity-lang - 3.1.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: duplicity-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package duplicity | https://duplicity.gitlab.io/
- MacPorts - duplicity: normalized package name match | MacPorts ports tree: sysutils/duplicity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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