# librsync を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

librsync のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:librsync
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install librsync
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install librsync
```

  証拠: MacPorts ports tree: net/librsync/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add librsync
```

  証拠: Alpine Linux edge package indexes: librsync from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install librsync
```

  証拠: Fedora Rawhide package metadata: librsync 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#librsync
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/librsync/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S librsync
```

  証拠: Arch Linux sync databases: librsync from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install librsync-dev
```

  証拠: Debian stable package indexes: librsync-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install librsync-devel
```

  証拠: openSUSE Tumbleweed package metadata: librsync-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:librsync
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.3.4
- **ソース概要:** Library that implements the rsync remote-delta algorithm
- **ホームページ:** <https://librsync.github.io/>
- **リポジトリ:** <https://github.com/librsync/librsync>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- rdiff (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.3.4
## プロジェクトの歴史と使われ方

librsync packages the rsync remote-delta idea as a reusable C library and the rdiff command-line tool. It is historically tied to efficient file transfer, backup, and binary-patch workflows rather than to the rsync network protocol itself.

### プロジェクトの歴史

The project README credits Martin Pool and contributors from 1999 onward and says librsync was originally written for rproxy, an experiment in delta-compression for HTTP. The library exposes the core signature, delta, and patch operations so other programs can compute and apply network deltas without embedding the rsync protocol.

The modern GitHub release series shows 1.0.0 and 2.0.0 releases in 2015, with later 2.x releases continuing the library and rdiff tool as a small, reusable delta-compression component.

### 採用の歴史

The official README lists Dropbox, rdiff-backup, Duplicity, and others as users. That adoption pattern explains librsync's packaging footprint: backup and synchronization tools depend on the library behavior while presenting their own network, metadata, and policy layers.

### 使われ方

Library users generate a signature of an old file, compute a delta against a new file, and apply that delta with the old file to reproduce the new file. The rdiff executable exposes the same operations for shell pipelines and package-maintainer tests.

### パッケージ好きにとっての重要性

librsync is a good example of a package that is not the famous program named in the algorithm. It deliberately does not implement the rsync wire protocol, file metadata handling, SSH transport, or directory synchronization; it packages the transferable delta primitive that higher-level tools build around.

### タイムライン

- 1999: Martin Pool and contributors began the code line credited in the project README.
- 2015: Version 1.0.0 was published in January and version 2.0.0 was published in November.
- 2017: Version 2.0.1 continued the post-2.0 release series.
- 2020: Version 2.3.0 was published in April.
- 2023: Version 2.3.4 was published in February.

### Related projects

- Related projects include rsync, rproxy, rdiff, rdiff-backup, Duplicity, and Dropbox.

### ソース

- <https://api.github.com/repos/librsync/librsync/releases?per_page=100>
- <https://github.com/librsync/librsync>
- <https://librsync.github.io/>
- <https://librsync.github.io/page_librsync.html>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - librsync-dev - 2.3.4-1.1+b1: normalized package name match | Debian stable package indexes: librsync-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | rsync remote-delta algorithm library (development) | https://github.com/librsync/librsync
- Debian apt - librsync2t64 - 2.3.4-1.1+b1: normalized package name match | Debian stable package indexes: librsync2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | rsync remote-delta algorithm library | https://github.com/librsync/librsync
- Debian apt - rdiff - 2.3.4-1.1+b1: normalized package name match | Debian stable package indexes: rdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Binary diff tool for signature-based differences | https://github.com/librsync/librsync
- Nix - librsync: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/librsync/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - librsync-dev - 2.3.4-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: librsync-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | rsync remote-delta algorithm library (development) | https://github.com/librsync/librsync
- Ubuntu apt - librsync2t64 - 2.3.4-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: librsync2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | rsync remote-delta algorithm library | https://github.com/librsync/librsync
- Ubuntu apt - rdiff - 2.3.4-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: rdiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Binary diff tool for signature-based differences | https://github.com/librsync/librsync
- apk - librsync - 2.3.4-r1: normalized package name match | Alpine Linux edge package indexes: librsync from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | librsync implements the rolling-checksum algorithm of rsync | https://github.com/librsync/librsync
- apk - librsync-dev - 2.3.4-r1: normalized package name match | Alpine Linux edge package indexes: librsync-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | librsync implements the rolling-checksum algorithm of rsync (development files) | https://github.com/librsync/librsync
- apk - librsync-doc - 2.3.4-r1: normalized package name match | Alpine Linux edge package indexes: librsync-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | librsync implements the rolling-checksum algorithm of rsync (documentation) | https://github.com/librsync/librsync
- dnf - librsync - 2.3.4-9.fc45: normalized package name match | Fedora Rawhide package metadata: librsync from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Rsync remote-delta algorithm library | https://librsync.github.io/
- dnf - librsync-devel - 2.3.4-9.fc45: normalized package name match | Fedora Rawhide package metadata: librsync-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Headers and development libraries for librsync | https://librsync.github.io/
- dnf - librsync-doc - 2.3.4-9.fc45: normalized package name match | Fedora Rawhide package metadata: librsync-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation files for librsync | https://librsync.github.io/
- pacman - librsync - 1:2.3.4-2: normalized package name match | Arch Linux sync databases: librsync from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Library for calculating and applying network deltas | https://github.com/librsync/librsync
- zypper - librsync-devel - 2.3.4-1.11: normalized package name match | openSUSE Tumbleweed package metadata: librsync-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for librsync | https://github.com/librsync/librsync
- zypper - librsync2 - 2.3.4-1.11: normalized package name match | openSUSE Tumbleweed package metadata: librsync2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Library for Generating Network Deltas | https://github.com/librsync/librsync


## Combined YAML source

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