# Install dar with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Backup directory tree and files. Version 2.8.5 via Homebrew; verified 2026-05-01.

## Install

```sh
sudo av install brew:dar
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dar
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dar
```

  Evidence: MacPorts ports tree: archivers/dar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dar
```

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

- Debian apt (92%):

```sh
sudo apt install dar
```

  Evidence: Debian stable package indexes: dar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dar
```

  Evidence: Fedora Rawhide package metadata: dar 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#dar
```

  Evidence: nixpkgs package indexes: pkgs/by-name/da/dar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install dar
```

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

## Package facts

- **Package key:** brew:dar
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dar>
- **Version:** 2.8.5
- **Source summary:** Backup directory tree and files
- **Homepage:** <http://dar.linux.free.fr/doc/index.html>
- **Repository:** <https://github.com/Edrusb/DAR>
- **Upstream docs:** <https://dar.sourceforge.io/doc/from_sources.html>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/dar/dar/2.8.5/dar-2.8.5.tar.gz>
- **Last updated:** 2026-05-01T11:43:47Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dar (cli)
- dar_cp (cli)
- dar_manager (cli)
- dar_slave (cli)
- dar_split (cli)
- dar_xform (cli)
- dar (alias)
- dar_cp (alias)
- dar_manager (alias)
- dar_slave (alias)
- dar_split (alias)
- dar_xform (alias)

## Dependencies

- argon2
- gettext
- libgcrypt
- libgpg-error
- lz4
- lzo
- xz
- zstd

## Uses from macOS

- bzip2

## 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: 2.8.5
- Package-manager updated: 2026-05-01
- Local data: ok
- Upstream repository: http://dar.linux.free.fr/doc/index.html
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

DAR, Disk ARchive, is a Unix backup and archiving suite designed as a disk-oriented alternative to tar, with slicing, catalogs, differential backups, compression, encryption, and libdar for applications.

### Project history

DAR documentation frames the tool as a replacement for tar that can use direct access on disk media, while also evolving to support tape-like streaming use. Its authentication page records signed releases back to April 2002, and its source documentation says the project used RCS in 2002, CVS until Q1 2012, then Git.

### Adoption history

DAR's adoption is visible in its packaging footprint and in the project's own list of tools using dar or libdar. The package appeals to Unix backup users who want archive slicing, isolated catalogs, strong verification, differential workflows, and scriptable command-line operation.

### How it is used

Users commonly create, list, test, compare, extract, isolate, merge, repair, and transform archives with the dar suite, using /etc/darrc or ~/.darrc for defaults and options such as remote FTP/SFTP repositories when compiled with the needed libraries.

### Why package nerds care

DAR is interesting packaging terrain because the feature matrix depends on optional libraries: compression codecs, libgcrypt and gpgme, librsync, libcurl, libssh, filesystem attributes, threading, Python bindings, and documentation generators all affect what a distro build can do.

### Timeline

- 2002: DAR release signing and early RCS-era source history are documented.
- 2012: The project moved from CVS to Git in Q1 2012.
- 2017: DAR began cloning its Git repository to GitHub while keeping SourceForge updated.
- 2026: Generated Disk ARchive 2.8.x documentation remains published.

### Related projects

- DAR is related to tar, rsync-style delta workflows through librsync, par2/Parchive protection, AVFS, dar-backup tooling, and applications that consume libdar rather than shelling out to the dar command.

### Sources

- <https://dar.sourceforge.io/doc/>
- <https://dar.sourceforge.io/doc/presentation.html>
- <https://dar.sourceforge.io/doc/FAQ.html>
- <https://dar.sourceforge.io/doc/authentification.html>
- <https://dar.sourceforge.io/doc/from_sources.html>
- <https://dar.sourceforge.io/doc/man/dar.html>
- <https://dar.sourceforge.io/doc/api_tutorial.html>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- 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: /etc/darrc, ~/.darrc

## Credential files

- Unix: ~/.netrc, ~/.ssh/id_rsa, ~/.ssh/id_rsa.pub
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dar
- **Version Scheme:** 0
- **Revision:** 0
- **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 - dar - 2.7.17-1+b13: normalized package name match | Debian stable package indexes: dar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Disk ARchive: Backup directory tree and files | http://dar.linux.free.fr/
- Debian apt - dar-docs - 2.7.17-1: normalized package name match | Debian stable package indexes: dar-docs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Disk ARchive: Backup directory tree and files | http://dar.linux.free.fr/
- Debian apt - dar-static - 2.7.17-1+b13: normalized package name match | Debian stable package indexes: dar-static from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Disk ARchive: Backup directory tree and files | http://dar.linux.free.fr/
- Debian apt - libdar-dev - 2.7.17-1+b13: normalized package name match | Debian stable package indexes: libdar-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Disk ARchive: Development files for shared library | http://dar.linux.free.fr/
- Debian apt - libdar64-6000t64 - 2.7.17-1+b13: normalized package name match | Debian stable package indexes: libdar64-6000t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Disk ARchive: Shared library | http://dar.linux.free.fr/
- Debian apt - python3-dar - 2.7.17-1+b13: normalized package name match | Debian stable package indexes: python3-dar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Disk ARchive: Python bindings | http://dar.linux.free.fr/
- Nix - dar: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/dar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dar - 2.7.13-5.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: dar from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Disk ARchive: Backup directory tree and files | http://dar.linux.free.fr/
- Ubuntu apt - dar-docs - 2.7.13-5.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: dar-docs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Disk ARchive: Backup directory tree and files | http://dar.linux.free.fr/
- Ubuntu apt - dar-static - 2.7.13-5.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: dar-static from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Disk ARchive: Backup directory tree and files | http://dar.linux.free.fr/
- Ubuntu apt - libdar-dev - 2.7.13-5.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libdar-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Disk ARchive: Development files for shared library | http://dar.linux.free.fr/
- Ubuntu apt - libdar64-6000t64 - 2.7.13-5.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libdar64-6000t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Disk ARchive: Shared library | http://dar.linux.free.fr/
- Ubuntu apt - python3-dar - 2.7.13-5.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-dar from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Disk ARchive: Python bindings | http://dar.linux.free.fr/
- apk - dar - 2.8.5-r0: normalized package name match | Alpine Linux edge package indexes: dar from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Disk ARchive | http://dar.linux.free.fr/
- apk - dar-dev - 2.8.5-r0: normalized package name match | Alpine Linux edge package indexes: dar-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Disk ARchive (development files) | http://dar.linux.free.fr/
- apk - dar-doc - 2.8.5-r0: normalized package name match | Alpine Linux edge package indexes: dar-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Disk ARchive (documentation) | http://dar.linux.free.fr/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [argon2](https://www.automicvault.com/pkg/brew/argon2/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [libgcrypt](https://www.automicvault.com/pkg/brew/libgcrypt/) - Runtime dependency declared by Homebrew.
- [libgpg-error](https://www.automicvault.com/pkg/brew/libgpg-error/) - Runtime dependency declared by Homebrew.
- [lz4](https://www.automicvault.com/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [borgbackup](https://www.automicvault.com/pkg/brew/borgbackup/) - Shares av.db curated category or tags: backup, cli, compression, system.
- [httm](https://www.automicvault.com/pkg/brew/httm/) - Shares av.db curated category or tags: backup, cli, filesystem, system.
- [rsnapshot](https://www.automicvault.com/pkg/brew/rsnapshot/) - Shares av.db curated category or tags: backup, cli, filesystem, system.
- [star](https://www.automicvault.com/pkg/brew/star/) - Shares av.db curated category or tags: archiver, backup, cli, system.
- [tarlz](https://www.automicvault.com/pkg/brew/tarlz/) - Shares av.db curated category or tags: archiver, archiving, cli, compression, system.
- [timedog](https://www.automicvault.com/pkg/brew/timedog/) - Shares av.db curated category or tags: backup, cli, filesystem, system.
- [afio](https://www.automicvault.com/pkg/brew/afio/) - Shares av.db curated category or tags: backup, cli, system.
- [bacula-fd](https://www.automicvault.com/pkg/brew/bacula-fd/) - Shares av.db curated category or tags: backup, cli, system.
- [squashfs](https://www.automicvault.com/pkg/brew/squashfs/) - Local package facts share a topical domain. Shared terms: cli, compression, filesystem, lz4, lzo.
- [dwarfs](https://www.automicvault.com/pkg/brew/dwarfs/) - Local package facts share a topical domain. Shared terms: cli, compression, filesystem, lz4, system.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
