# link-grammar を Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

link-grammar のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:link-grammar
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install link-grammar
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install link-grammar
```

  証拠: MacPorts ports tree: textproc/link-grammar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install liblink-grammar-dev
```

  証拠: Debian stable package indexes: liblink-grammar-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install link-grammar
```

  証拠: Fedora Rawhide package metadata: link-grammar from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#link-grammar
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/link-grammar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S link-grammar
```

  証拠: Arch Linux sync databases: link-grammar from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install liblink-grammar5
```

  証拠: openSUSE Tumbleweed package metadata: liblink-grammar5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:link-grammar
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/link-grammar>
- **バージョン:** 5.13.0
- **ソース概要:** Carnegie Mellon University's link grammar parser
- **ホームページ:** <https://github.com/opencog/link-grammar>
- **リポジトリ:** <https://github.com/opencog/link-grammar>
- **上流ドキュメント:** <https://github.com/opencog/link-grammar>
- **ライセンス:** LGPL-2.1-or-later
- **ソースアーカイブ:** <https://github.com/opencog/link-grammar/archive/refs/tags/link-grammar-5.13.0.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- link-generator (cli)
- link-parser (cli)
- link-generator (エイリアス)
- link-parser (エイリアス)

## ビルド依存関係

- ant
- autoconf
- autoconf-archive
- automake
- libtool
- pkgconf
- python@3.14
- swig

## macOS 提供ライブラリ

- libedit
- sqlite

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 5.13.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/opencog/link-grammar
- 検出された最新: link-grammar-5.13.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

Link Grammar is the CMU Link Grammar natural-language parser packaged as libraries, dictionaries, and command-line tools. It turns sentences into graph-like typed links between words, with conversions to more conventional phrase-structure and dependency views.

### プロジェクトの歴史

The theory was developed in 1991 by Davy Temperley, John Lafferty, and Daniel Sleator at Carnegie Mellon University. The project's README points to the original 1991 CMU technical report, a 1993 parsing workshop paper, and a 1995 robust parsing paper as the foundational publications.

The modern package is a continuation of the original CMU parser but has diverged substantially from the early code base. The README describes major engineering evolution: extensive bug fixes, orders-of-magnitude performance work, full multithreading, UTF-8 support, security cleanup for cloud deployment, improved English coverage, and added languages including Thai and Russian.

### 採用の歴史

Link Grammar has persisted as a niche but long-lived NLP package because it combines an academic grammar formalism with runnable dictionaries and a small interactive parser. Its presence in Unix package managers keeps the CMU parser available for experiments, symbolic NLP systems, dictionary work, and regression tests even as statistical and neural NLP methods became dominant.

### 使われ方

The package includes language dictionaries, APIs for multiple programming languages, and command-line tools such as link-parser and link-generator. The interactive parser is useful for inspecting linkages and costs by hand, while the library form lets other NLP systems consume the parser programmatically.

### パッケージ好きにとっての重要性

Link Grammar is package-nerd catnip because it is an old academic parser that still builds as a normal Unix package. It carries dictionaries, generated data, C libraries, bindings, man pages, and CLI tools, preserving a pre-deep-learning branch of NLP in a form that can still be installed with a package manager.

### タイムライン

- 1991: Temperley, Lafferty, and Sleator developed the Link Grammar theory at Carnegie Mellon University.
- 1991: The CMU-CS-91-196 technical report Parsing English with a Link Grammar was published.
- 1993: Sleator and Temperley presented Parsing English with a Link Grammar at the Third International Workshop on Parsing Technologies.
- 1995: Grinberg, Lafferty, and Sleator published A Robust Parsing Algorithm for Link Grammars.
- 5.9.0: The package added an experimental sentence-generation system exposed through link-generator.

### Related projects

- Related projects include the original CMU Link Grammar parser, OpenCog Language Learning, the link-generator tool, and downstream NLP systems that prefer symbolic grammar structures over purely statistical parsers.

### ソース

- <https://github.com/opencog/link-grammar>
- <https://github.com/opencog/link-grammar/blob/master/AUTHORS>
- <https://github.com/opencog/link-grammar/blob/master/README.md>
- <https://www.cs.cmu.edu/afs/cs.cmu.edu/project/link/pub/www/papers/ps/LG-IWPT93.ps>
- <https://www.cs.cmu.edu/afs/cs.cmu.edu/project/link/pub/www/papers/ps/tr95-125.ps>


## セキュリティノート

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:** link-grammar
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - liblink-grammar-dev - 5.12.5~dfsg-1+b3: normalized package name match | Debian stable package indexes: liblink-grammar-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Carnegie Mellon University's link grammar parser (development headers) | https://www.abisource.com/projects/link-grammar/
- Debian apt - liblink-grammar-java - 5.12.5~dfsg-1+b3: normalized package name match | Debian stable package indexes: liblink-grammar-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Carnegie Mellon University's link grammar parser (JNI library) | https://www.abisource.com/projects/link-grammar/
- Debian apt - liblink-grammar5t64 - 5.12.5~dfsg-1+b3: normalized package name match | Debian stable package indexes: liblink-grammar5t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Carnegie Mellon University's link grammar parser (libraries) | https://www.abisource.com/projects/link-grammar/
- Debian apt - link-grammar - 5.12.5~dfsg-1+b3: normalized package name match | Debian stable package indexes: link-grammar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Carnegie Mellon University's link grammar parser | https://www.abisource.com/projects/link-grammar/
- Debian apt - link-grammar-dictionaries-all - 5.12.5~dfsg-1: normalized package name match | Debian stable package indexes: link-grammar-dictionaries-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Carnegie Mellon University's link grammar parser (all dictionaries) | https://www.abisource.com/projects/link-grammar/
- Debian apt - link-grammar-dictionaries-en - 5.12.5~dfsg-1: normalized package name match | Debian stable package indexes: link-grammar-dictionaries-en from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Carnegie Mellon University's link grammar parser (English dictionary) | https://www.abisource.com/projects/link-grammar/
- Debian apt - python-link-grammar-examples - 5.12.5~dfsg-1: normalized package name match | Debian stable package indexes: python-link-grammar-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CMU's link grammar parser (Python examples) | https://www.abisource.com/projects/link-grammar/
- Debian apt - python3-link-grammar - 5.12.5~dfsg-1+b3: normalized package name match | Debian stable package indexes: python3-link-grammar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Carnegie Mellon University's link grammar parser (Python 3) | https://www.abisource.com/projects/link-grammar/
- Nix - link-grammar: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/link-grammar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblink-grammar-dev - 5.12.3~dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: liblink-grammar-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Carnegie Mellon University's link grammar parser (development headers) | https://www.abisource.com/projects/link-grammar/
- Ubuntu apt - liblink-grammar-java - 5.12.3~dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: liblink-grammar-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Carnegie Mellon University's link grammar parser (JNI library) | https://www.abisource.com/projects/link-grammar/
- Ubuntu apt - liblink-grammar5 - 5.12.3~dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: liblink-grammar5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Carnegie Mellon University's link grammar parser (libraries) | https://www.abisource.com/projects/link-grammar/
- Ubuntu apt - link-grammar - 5.12.3~dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: link-grammar from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Carnegie Mellon University's link grammar parser | https://www.abisource.com/projects/link-grammar/
- Ubuntu apt - link-grammar-dictionaries-all - 5.12.3~dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: link-grammar-dictionaries-all from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Carnegie Mellon University's link grammar parser (all dictionaries) | https://www.abisource.com/projects/link-grammar/
- Ubuntu apt - link-grammar-dictionaries-en - 5.12.3~dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: link-grammar-dictionaries-en from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Carnegie Mellon University's link grammar parser (English dictionary) | https://www.abisource.com/projects/link-grammar/
- Ubuntu apt - python-link-grammar-examples - 5.12.3~dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: python-link-grammar-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CMU's link grammar parser (Python examples) | https://www.abisource.com/projects/link-grammar/


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [ant](https://www.automicvault.com/ja/pkg/brew/ant/) - Build dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/ja/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/ja/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [freeling](https://www.automicvault.com/ja/pkg/brew/freeling/) - Shares av.db curated category or tags: cli, natural-language-processing, science.
- [juman](https://www.automicvault.com/ja/pkg/brew/juman/) - Shares av.db curated category or tags: cli, natural-language-processing, science.
- [jumanpp](https://www.automicvault.com/ja/pkg/brew/jumanpp/) - Shares av.db curated category or tags: cli, natural-language-processing, science.
- [kytea](https://www.automicvault.com/ja/pkg/brew/kytea/) - Shares av.db curated category or tags: cli, natural-language-processing, science.
- [sfst](https://www.automicvault.com/ja/pkg/brew/sfst/) - Shares av.db curated category or tags: cli, natural-language-processing, science.
- [aamath](https://www.automicvault.com/ja/pkg/brew/aamath/) - Shares av.db curated category or tags: cli, science.
- [abpoa](https://www.automicvault.com/ja/pkg/brew/abpoa/) - Shares av.db curated category or tags: cli, science.
- [abricate](https://www.automicvault.com/ja/pkg/brew/abricate/) - Shares av.db curated category or tags: cli, science.
- [rocq-elpi](https://www.automicvault.com/ja/pkg/brew/rocq-elpi/) - Local package facts share a topical domain. Shared terms: cli, language, parser, science.
- [equation-parser](https://www.automicvault.com/ja/pkg/npm/equation-parser/) - Local package facts share a topical domain. Shared terms: cli, parser, science.
- [alevin-fry](https://www.automicvault.com/ja/pkg/brew/alevin-fry/) - Local package facts share a topical domain. Shared terms: cli, processing, science.

## Combined YAML source

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


## ソース

- 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
