# Install ldid with Homebrew, MacPorts, Nix

Lets you manipulate the signature block in a Mach-O binary. Version 2.1.5 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ldid
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ldid
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:ldid
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ldid>
- **Version:** 2.1.5
- **Source summary:** Lets you manipulate the signature block in a Mach-O binary
- **Homepage:** <https://cydia.saurik.com/info/ldid/>
- **Repository:** <https://git.saurik.com/ldid.git>
- **Upstream docs:** <https://cydia.saurik.com/info/ldid>
- **License:** AGPL-3.0-or-later
- **Source archive:** git://git.saurik.com/ldid.git
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- ldid (cli)
- ldid2 (cli)
- ldid (alias)
- ldid2 (alias)

## Dependencies

- libplist
- openssl@3

## 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.1.5
- Local data: ok
- Upstream repository: https://cydia.saurik.com/info/ldid/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

ldid, the Link Identity Editor, is a small Mach-O signing and entitlement utility associated with Jay Freeman's Cydia ecosystem. Its official Cydia package page describes it as a program for manipulating the signature block in a Mach-O binary.

### Project history

The tool grew out of iPhone OS and macOS code-signing work where developers needed a lightweight way to add, refresh, or inspect Mach-O signature metadata. Homebrew packages saurik's Git repository and installs both ldid and an ldid2 symlink, reflecting its long use as a command-line helper rather than a large standalone application.

### Adoption history

ldid became a familiar dependency in jailbreak and unsigned iOS development toolchains because it could apply ad-hoc signatures and entitlements outside Apple's full signing workflow. Package-manager availability in Homebrew, MacPorts, and Nix made it reachable on developer workstations even though the primary upstream surface stayed minimal.

### How it is used

Typical use is direct command-line signing or inspection: the Cydia page documents signing from scratch, updating hashes on an existing binary, and dumping entitlements. That narrow scope is the point: it handles the Mach-O signature block without becoming a broader codesigning framework.

### Why package nerds care

For package maintainers, ldid is interesting because it sits at the boundary between platform policy and Unix-style tooling. It is a tiny utility with outsized importance in iOS packaging workflows, and formulae often have to care about source availability, OpenSSL/libplist compatibility, and conflicting ldid variants.

### Timeline

- 2000s: ldid appears in the Cydia/saurik tool ecosystem for Mach-O signature-block manipulation.
- 2020s: Homebrew packages saurik's ldid Git repository and installs ldid plus an ldid2 symlink.

### Related projects

- Related tools and ecosystems include Apple's codesign utility, Mach-O binary tooling, Cydia packaging, Theos-style iOS development workflows, and downstream ldid forks such as ProcursusTeam/ldid.

### Sources

- <https://cydia.saurik.com/info/ldid/>
- <https://git.saurik.com/ldid.git>
- <https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/l/ldid.rb>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ldid
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Conflicts With:** ldid-procursus
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- 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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libplist](https://www.automicvault.com/pkg/brew/libplist/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [binutils](https://www.automicvault.com/pkg/brew/binutils/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [cargo-binutils](https://www.automicvault.com/pkg/brew/cargo-binutils/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [elfx86exts](https://www.automicvault.com/pkg/brew/elfx86exts/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools, mach-o.
- [mtoc](https://www.automicvault.com/pkg/brew/mtoc/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools, mach-o.
- [objconv](https://www.automicvault.com/pkg/brew/objconv/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [x86_64-linux-gnu-binutils](https://www.automicvault.com/pkg/brew/x86-64-linux-gnu-binutils/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [chrpath](https://www.automicvault.com/pkg/brew/chrpath/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [dwarfutils](https://www.automicvault.com/pkg/brew/dwarfutils/) - Shares av.db curated category or tags: binary-tools, cli, developer-tools.
- [ios-webkit-debug-proxy](https://www.automicvault.com/pkg/brew/ios-webkit-debug-proxy/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, ios, libplist.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
