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

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dar
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dar
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

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

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:dar
- **软件包管理器:** Homebrew
- **版本:** 2.8.5
- **来源摘要:** Backup directory tree and files
- **主页:** <http://dar.linux.free.fr/doc/index.html>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dar (别名)
- dar_cp (别名)
- dar_manager (别名)
- dar_slave (别名)
- dar_split (别名)
- dar_xform (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

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: /etc/darrc, ~/.darrc

## Credential files

- Unix: ~/.netrc, ~/.ssh/id_rsa, ~/.ssh/id_rsa.pub
## 其他软件包管理器记录

- Debian apt - dar - 2.7.17-1+b16: 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+b16: 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+b16: 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+b16: 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+b16: 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/


## Combined YAML source

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