# Install pdfsandwich with Homebrew, apt, MacPorts, Nix

Generate sandwich OCR PDFs from scanned file. Version 0.1.7 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:pdfsandwich
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pdfsandwich
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pdfsandwich
```

  Evidence: MacPorts ports tree: textproc/pdfsandwich/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install pdfsandwich
```

  Evidence: Debian stable package indexes: pdfsandwich from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#pdfsandwich
```

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

## Package facts

- **Package key:** brew:pdfsandwich
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/pdfsandwich>
- **Version:** 0.1.7
- **Source summary:** Generate sandwich OCR PDFs from scanned file
- **Homepage:** <http://www.tobias-elze.de/pdfsandwich/>
- **Repository:** <https://sourceforge.net/p/pdfsandwich/code>
- **Upstream docs:** <http://www.tobias-elze.de/pdfsandwich/index.html>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/pdfsandwich/pdfsandwich%200.1.7/pdfsandwich-0.1.7.tar.bz2>
- **Last updated:** 2026-06-22T14:05:50-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- pdfsandwich (cli)
- pdfsandwich (alias)

## Dependencies

- exact-image
- ghostscript
- imagemagick
- poppler
- tesseract
- unpaper

## Build dependencies

- gawk
- ocaml

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.1.7
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: http://www.tobias-elze.de/pdfsandwich/
- info: Release/tag comparison is only available for GitHub repositories.

## 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:** pdfsandwich
- **Version Scheme:** 0
- **Revision:** 4
- **Head Version:** HEAD
- **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

- Debian apt - pdfsandwich - 0.1.7-3: normalized package name match | Debian stable package indexes: pdfsandwich from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tool to generate "sandwich" OCR pdf files | http://www.tobias-elze.de/pdfsandwich/index.html
- Nix - pdfsandwich: normalized package name match | nixpkgs package indexes: pkgs/by-name/pd/pdfsandwich/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - pdfsandwich - 0.1.7-2build6: normalized package name match | Ubuntu 24.04 LTS package indexes: pdfsandwich from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tool to generate "sandwich" OCR pdf files | http://www.tobias-elze.de/pdfsandwich/index.html
- MacPorts - pdfsandwich: normalized package name match | MacPorts ports tree: textproc/pdfsandwich/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.
- [exact-image](https://www.automicvault.com/pkg/brew/exact-image/) - Runtime dependency declared by Homebrew.
- [ghostscript](https://www.automicvault.com/pkg/brew/ghostscript/) - Runtime dependency declared by Homebrew.
- [imagemagick](https://www.automicvault.com/pkg/brew/imagemagick/) - Runtime dependency declared by Homebrew.
- [poppler](https://www.automicvault.com/pkg/brew/poppler/) - Runtime dependency declared by Homebrew.
- [tesseract](https://www.automicvault.com/pkg/brew/tesseract/) - Runtime dependency declared by Homebrew.
- [unpaper](https://www.automicvault.com/pkg/brew/unpaper/) - Runtime dependency declared by Homebrew.
- [gawk](https://www.automicvault.com/pkg/brew/gawk/) - Build dependency declared by Homebrew.
- [ocaml](https://www.automicvault.com/pkg/brew/ocaml/) - Build dependency declared by Homebrew.
- [pdftilecut](https://www.automicvault.com/pkg/brew/pdftilecut/) - Shares av.db curated category or tags: cli, developer-tools, document-processing, pdf.
- [pdftk-java](https://www.automicvault.com/pkg/brew/pdftk-java/) - Shares av.db curated category or tags: cli, developer-tools, document-processing, pdf.
- [pdftoipe](https://www.automicvault.com/pkg/brew/pdftoipe/) - Shares av.db curated category or tags: cli, developer-tools, document-processing, pdf.
- [pymupdf](https://www.automicvault.com/pkg/brew/pymupdf/) - Shares av.db curated category or tags: cli, developer-tools, document-processing, pdf.
- [latexml](https://www.automicvault.com/pkg/brew/latexml/) - Shares av.db curated category or tags: cli, developer-tools, document-processing.
- [wv2](https://www.automicvault.com/pkg/brew/wv2/) - Shares av.db curated category or tags: cli, developer-tools, document-processing.
- [dvisvgm](https://www.automicvault.com/pkg/brew/dvisvgm/) - Shares av.db curated category or tags: cli, developer-tools, pdf.
- [htmldoc](https://www.automicvault.com/pkg/brew/htmldoc/) - Shares av.db curated category or tags: cli, developer-tools, pdf.
- [xml-coreutils](https://www.automicvault.com/pkg/brew/xml-coreutils/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, file, processing.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
