# 使用 Homebrew, MacPorts, Nix 安装 ldid

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

## 安装

```sh
sudo av install brew:ldid
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ldid
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ldid
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ldid
```

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

## 软件包事实

- **软件包键:** brew:ldid
- **软件包管理器:** Homebrew
- **版本:** 2.1.5
- **来源摘要:** Lets you manipulate the signature block in a Mach-O binary
- **主页:** <https://cydia.saurik.com/info/ldid/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ldid (别名)
- ldid2 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ldid, the Link Identity Editor, is a small command-line utility from Jay Freeman's Cydia ecosystem for manipulating the signature block in a Mach-O binary.

### 项目历史

ldid emerged from iPhone OS and macOS code-signing work that needed a lightweight way to add, refresh, or inspect Mach-O signature metadata outside Apple's full signing workflow. Upstream remains a compact utility hosted in saurik's source repository rather than a broad signing framework.

### 采用历史

ldid became familiar in jailbreak and unsigned iOS development toolchains because it can apply ad-hoc signatures and entitlements. The supplied package metadata records availability through Homebrew, MacPorts, and Nix, extending the tool beyond the Cydia packaging environment.

### 使用方式

The official Cydia page documents three core operations: use -S to sign a binary from scratch and allocate entitlements, -s to update hashes on an existing binary, and -e to dump entitlements.

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

For package maintainers, ldid is a small tool with outsized importance at the boundary of Mach-O packaging, platform signing policy, and iOS development workflows.

### 时间线

- 2000s: ldid enters the Cydia/saurik tool ecosystem for Mach-O signature manipulation.
- 2020s: Homebrew, MacPorts, and Nix package ldid for developer workstations.

### Related projects

- Related tools and ecosystems include Apple's codesign utility, Cydia packaging, Theos-style iOS development workflows, and general Mach-O binary tooling.

### 来源

- <https://cydia.saurik.com/info/ldid/>
- <https://git.saurik.com/ldid.git>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - ldid: normalized package name match | nixpkgs package indexes: pkgs/by-name/ld/ldid/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - ldid: normalized package name match | MacPorts ports tree: devel/ldid/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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