Automic VaultAutomic Vault

brew

Install grap with Homebrew, apt, Nix

Language for typesetting graphs. Version 1.49 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install grap

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install grap

Debian stable package indexes · grap · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#grap

nixpkgs package indexes · pkgs/by-name/gr/grap/package.nix · source: api.github.com

overview

Package summary

Language for typesetting graphs

Commands and aliases

  • grap

history

Project history and usage

grap is an implementation of the Bell Labs grap language for typesetting graphs in troff, groff, TeX, and other document-formatting pipelines that can consume pic output.

Project history

The grap language was specified and first implemented by Brian Kernighan and Jon Bentley at Bell Labs. Ted Faber's implementation was written because groff did not include a free grap implementation, and the repository describes it as an implementation of Kernighan and Bentley's language.

The project preserves a classic Unix documentation workflow: a small language is processed into pic, then included in typeset documents. That lineage places grap beside troff preprocessors such as pic, tbl, and eqn.

Adoption history

grap is niche but durable because it solves a specific documentation problem for users who still value text-based, reproducible graph descriptions inside Unix typesetting systems. It appears in package managers for people maintaining historical troff/groff workflows or converting old documents.

How it is used

Users write graph descriptions in grap, run the preprocessor to generate pic, and let pic/troff, groff, or TeX-oriented workflows render the graph in a document.

Why package nerds care

grap matters to package nerds because it is a preservation-friendly Unix tool: tiny, source-buildable, text-oriented, and useful mainly when the rest of a document toolchain is installed correctly.

Timeline

  • 1986: Bentley and Kernighan published GRAP, a language for typesetting graphs, in Communications of the ACM.
  • 1998-2009: Ted Faber copyright range shown in the repository README.
  • 2025-04-16: Lunabase project page listed version 1.49.

Related projects

  • pic is the immediate output language and troff/groff are the common formatting environments.
  • TeX can participate through workflows that consume pic-generated output.
  • The original Bell Labs language is the historical source for Ted Faber's implementation.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
grapcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.49
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.lunabase.org/~faber/Vault/software/grap/

install metadata

Package metadata

Package keybrew:grap
Version1.49
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/grap
Homepagehttps://www.lunabase.org/~faber/Vault/software/grap/
Repositoryhttps://github.com/snorerot13/grap
Upstream docshttps://github.com/snorerot13/grap/blob/master/README
LicenseBSD-2-Clause
Source archivehttps://www.lunabase.org/~faber/Vault/software/grap/grap-1.49.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegrap
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

grap 1.49-1

program for typesetting graphs

https://www.lunabase.org/~faber/Vault/software/grap/

sudo apt install grap
  • Section: text
  • Architecture: amd64
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Grap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: grap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

grap

nix profile install nixpkgs#grap
  • normalized package name match
  • Matched by: Grap
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/grap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

grap 1.47-1

program for typesetting graphs

https://www.lunabase.org/~faber/Vault/software/grap/

sudo apt install grap
  • Section: universe/text
  • Architecture: amd64
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Grap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: grap from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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