# Install duplicity with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Bandwidth-efficient encrypted backup. Version 3.1.0 via Homebrew; verified 2026-06-22.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install duplicity
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duplicity
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

- Nix (92%):

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

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: duplicity from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:duplicity
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/duplicity>
- **Version:** 3.1.0
- **Source summary:** Bandwidth-efficient encrypted backup
- **Homepage:** <https://gitlab.com/duplicity/duplicity>
- **Repository:** <https://gitlab.com/duplicity/duplicity>
- **Upstream docs:** <https://duplicity.us/docs.html>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://files.pythonhosted.org/packages/ee/5e/6085f6c98ca17f689ef70862749facced6cf708c4496d6241f603471fb37/duplicity-3.1.0.tar.gz>
- **Last updated:** 2026-06-22T14:03:12-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- duplicity (cli)
- duplicity (alias)

## Dependencies

- certifi
- cryptography
- gnupg
- librsync
- libsodium
- libyaml
- python@3.14

## Build dependencies

- gettext
- pkgconf
- rust

## Uses from macOS

- libffi
- libxml2
- libxslt

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.1.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://gitlab.com/duplicity/duplicity
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for duplicity. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** duplicity
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- 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.0.7-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.0.7-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.0.7-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.0.7-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.0.7-4.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Encrypted bandwidth-efficient backup using rsync algorithm | https://duplicity.gitlab.io/
- pacman - duplicity - 3.0.7-2: 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.0.7-2.3: normalized package name match | openSUSE Tumbleweed package metadata: duplicity from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Encrypted bandwidth-efficient backup using the rsync algorithm | https://duplicity.gitlab.io/
- zypper - duplicity-lang - 3.0.7-2.3: normalized package name match | openSUSE Tumbleweed package metadata: duplicity-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [gnupg](https://www.automicvault.com/pkg/brew/gnupg/) - Runtime dependency declared by Homebrew.
- [librsync](https://www.automicvault.com/pkg/brew/librsync/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [duply](https://www.automicvault.com/pkg/brew/duply/) - Popular package that depends on this formula.
- [borgbackup](https://www.automicvault.com/pkg/brew/borgbackup/) - Shares av.db curated category or tags: backup, cli, encryption, system.
- [bup](https://www.automicvault.com/pkg/brew/bup/) - Shares av.db curated category or tags: backup, cli, incremental-backup, system.
- [bupstash](https://www.automicvault.com/pkg/brew/bupstash/) - Shares av.db curated category or tags: backup, cli, incremental-backup, system.
- [gobackup](https://www.automicvault.com/pkg/brew/gobackup/) - Shares av.db curated category or tags: backup, cli, cloud-storage, system.
- [kopia](https://www.automicvault.com/pkg/brew/kopia/) - Shares av.db curated category or tags: backup, cli, encryption, system.
- [plakar](https://www.automicvault.com/pkg/brew/plakar/) - Shares av.db curated category or tags: backup, cli, encryption, system.
- [rdiff-backup](https://www.automicvault.com/pkg/brew/rdiff-backup/) - Shares av.db curated category or tags: backup, cli, incremental-backup, system.
- [restic](https://www.automicvault.com/pkg/brew/restic/) - Shares av.db curated category or tags: backup, cli, encryption, system.

## Combined YAML source

View the package source record on GitHub. [combined/duplicity.yml](https://github.com/automic-vault/db/blob/main/combined/duplicity.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
