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

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

## 安装

```sh
sudo av install brew:ssdeep
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ssdeep
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ssdeep
```

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

### Linux

- apk (92%):

```sh
sudo apk add ssdeep
```

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

- Debian apt (92%):

```sh
sudo apt install ssdeep
```

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

- dnf (92%):

```sh
sudo dnf install ssdeep
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ssdeep
```

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

- pacman (92%):

```sh
sudo pacman -S ssdeep
```

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

- zypper (92%):

```sh
sudo zypper install ssdeep
```

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

## 软件包事实

- **软件包键:** brew:ssdeep
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ssdeep>
- **版本:** 2.14.1
- **来源摘要:** Recursive piecewise hashing tool
- **主页:** <https://ssdeep-project.github.io/ssdeep/>
- **仓库:** <https://github.com/ssdeep-project/ssdeep>
- **上游文档:** <https://ssdeep-project.github.io/ssdeep/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/ssdeep-project/ssdeep/releases/download/release-2.14.1/ssdeep-2.14.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ssdeep (cli)
- ssdeep (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.14.1
- 本地数据: OK
- 上游仓库: https://github.com/ssdeep-project/ssdeep
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

ssdeep is a command-line fuzzy hashing tool and libfuzzy library for computing and comparing context-triggered piecewise hashes.

### 项目历史

Jesse Kornblum introduced context-triggered piecewise hashing in the 2006 Digital Investigation/DFRWS paper 'Identifying Almost Identical Files Using Context Triggered Piecewise Hashing.' The ssdeep project documentation says the program was originally written by Kornblum and based on Andrew Tridgell's spamsum code.

The modern ssdeep project moved to GitHub under ssdeep-project in 2017. Its NEWS file records a line of 2.x releases adding signature comparison modes, API documentation, C++ compatibility, clustering, thread-safe fuzzy hashing, large-file/stdin support, and 2.14 performance optimizations.

### 采用历史

The official ssdeep site lists packages for Ubuntu, Fedora, Debian, CentOS/EPEL, Arch Linux, FreeBSD, and Windows binaries. It also states that ssdeep hashes became widely used for simple identification, including VirusTotal basic properties, and that ssdeep remained a de facto standard despite newer fuzzy-hash alternatives.

### 使用方式

Package users run ssdeep to hash files, recursively hash directory trees, compare files against known signature sets, or compare signature files. Developers can link libfuzzy and call the fuzzy_hash_* and fuzzy_compare APIs.

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

ssdeep is a package-manager classic because it bridges command-line forensics and linkable library packaging. Distros often split it into runtime, library, and development packages, and security tooling frequently treats its output format as a lingua franca for quick similarity checks.

### 时间线

- 2006: Kornblum's CTPH paper introduced the technique and proof-of-concept ssdeep program.
- 2010: ssdeep 2.5 added API documentation and C++ compatibility.
- 2013: ssdeep 2.10 rewrote the fuzzy hashing engine to be thread safe.
- 2017-06: ssdeep-project GitHub repository created.
- 2017-11: ssdeep 2.14.1 released.

### Related projects

- Related tools and algorithms include spamsum, libfuzzy, TLSH, sdhash, VirusTotal similarity workflows, and digital-forensics hash-set tooling.

### 来源

- <https://api.github.com/repos/ssdeep-project/ssdeep>
- <https://dfrws.org/presentation/identifying-almost-identical-files-using-context-triggered-piecewise-hashing/>
- <https://raw.githubusercontent.com/ssdeep-project/ssdeep/master/NEWS>
- <https://ssdeep-project.github.io/ssdeep/index.html>
- <https://ssdeep-project.github.io/ssdeep/usage.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ssdeep
- **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

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

- Debian apt - libfuzzy-dev - 2.14.1+git20180629.57fcfff-3+b2: normalized package name match | Debian stable package indexes: libfuzzy-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | recursive piecewise hashing tool (development headers) | https://github.com/ssdeep-project/ssdeep
- Debian apt - libfuzzy2 - 2.14.1+git20180629.57fcfff-3+b2: normalized package name match | Debian stable package indexes: libfuzzy2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | recursive piecewise hashing tool (library) | https://github.com/ssdeep-project/ssdeep
- Debian apt - ssdeep - 2.14.1+git20180629.57fcfff-3+b2: normalized package name match | Debian stable package indexes: ssdeep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | recursive piecewise hashing tool | https://github.com/ssdeep-project/ssdeep
- Nix - ssdeep: normalized package name match | nixpkgs package indexes: pkgs/by-name/ss/ssdeep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libfuzzy-dev - 2.14.1+git20180629.57fcfff-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libfuzzy-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | recursive piecewise hashing tool (development headers) | https://github.com/ssdeep-project/ssdeep
- Ubuntu apt - libfuzzy2 - 2.14.1+git20180629.57fcfff-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libfuzzy2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | recursive piecewise hashing tool (library) | https://github.com/ssdeep-project/ssdeep
- Ubuntu apt - ssdeep - 2.14.1+git20180629.57fcfff-3: normalized package name match | Ubuntu 24.04 LTS package indexes: ssdeep from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | recursive piecewise hashing tool | https://github.com/ssdeep-project/ssdeep
- apk - libfuzzy2 - 2.14.1-r2: normalized package name match | Alpine Linux edge package indexes: libfuzzy2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fuzzy hashing API and toolk | https://ssdeep-project.github.io/ssdeep/index.html
- apk - libfuzzy2-dev - 2.14.1-r2: normalized package name match | Alpine Linux edge package indexes: libfuzzy2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fuzzy hashing API and toolk (development files) | https://ssdeep-project.github.io/ssdeep/index.html
- apk - ssdeep - 2.14.1-r2: normalized package name match | Alpine Linux edge package indexes: ssdeep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fuzzy hashing API and toolk | https://ssdeep-project.github.io/ssdeep/index.html
- apk - ssdeep-doc - 2.14.1-r2: normalized package name match | Alpine Linux edge package indexes: ssdeep-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fuzzy hashing API and toolk (documentation) | https://ssdeep-project.github.io/ssdeep/index.html
- apk - ssdeep-static - 2.14.1-r2: normalized package name match | Alpine Linux edge package indexes: ssdeep-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fuzzy hashing API and toolk (static library) | https://ssdeep-project.github.io/ssdeep/index.html
- dnf - ssdeep - 2.14.1-23.fc45: normalized package name match | Fedora Rawhide package metadata: ssdeep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Compute context triggered piecewise hashes | https://ssdeep-project.github.io/ssdeep/
- dnf - ssdeep-devel - 2.14.1-23.fc45: normalized package name match | Fedora Rawhide package metadata: ssdeep-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for libfuzzy | https://ssdeep-project.github.io/ssdeep/
- dnf - ssdeep-libs - 2.14.1-23.fc45: normalized package name match | Fedora Rawhide package metadata: ssdeep-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Runtime libfuzzy library | https://ssdeep-project.github.io/ssdeep/
- pacman - ssdeep - 2.14.1-5: normalized package name match | Arch Linux sync databases: ssdeep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A program for computing context triggered piecewise hashes | https://ssdeep-project.github.io/ssdeep/


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [dnstwist](https://pkg.so/zh-hans/brew/dnstwist/) - Popular package that depends on this formula.
- [afflib](https://pkg.so/zh-hans/brew/afflib/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [evtx](https://pkg.so/zh-hans/brew/evtx/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [chainsaw](https://pkg.so/zh-hans/brew/chainsaw/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [dcfldd](https://pkg.so/zh-hans/brew/dcfldd/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [dc3dd](https://pkg.so/zh-hans/brew/dc3dd/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [mac-robber](https://pkg.so/zh-hans/brew/mac-robber/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [binwalk](https://pkg.so/zh-hans/brew/binwalk/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [sleuthkit](https://pkg.so/zh-hans/brew/sleuthkit/) - Shares pkgdb curated category or tags: cli, forensics, security.

## Combined YAML source

View the package source record on GitHub. [combined/ssdeep.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ssdeep.yml)


## 来源

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