# Install apache-opennlp with Homebrew, apt, zypper

Machine learning toolkit for processing natural language text. Version 2.5.11 via Homebrew; verified 2026-07-24. Also installable with debian: sudo apt install libapache-opennlp-java.

## Install

```sh
sudo av install brew:apache-opennlp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install apache-opennlp
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install libapache-opennlp-java
```

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

- zypper (92%):

```sh
sudo zypper install opennlp
```

  Evidence: openSUSE Tumbleweed package metadata: opennlp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:apache-opennlp
- **Package manager:** Homebrew
- **Version:** 2.5.11
- **Source summary:** Machine learning toolkit for processing natural language text
- **Homepage:** <https://opennlp.apache.org/>
- **Last updated:** 2026-07-24T10:05:18Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- opennlp (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.5.11
## Project history and usage

Apache OpenNLP is a Java machine-learning toolkit and command-line suite for natural-language processing tasks such as sentence detection, tokenization, part-of-speech tagging, named-entity extraction, chunking, parsing, language detection, and coreference resolution.

### Project history

OpenNLP existed before Apache incubation, with current Apache pages still pointing to archived SourceForge releases and model resources. The project entered the Apache Incubator in November 2010 and graduated as an Apache top-level project on 2012-02-15.

The incubation record describes the project goal as creating a mature toolkit for common NLP tasks and providing pre-built models for multiple languages. The Apache-era project continued to ship both a Java API and a common opennlp command-line entry point.

### Adoption history

OpenNLP's adoption is strongest in Java and JVM text-processing pipelines where developers want a conventional library and CLI for classic NLP rather than a server or hosted model. Its old SourceForge model archive and Apache manual both show the long-running package culture around downloading binary models, running trainers, and wiring the toolkit into UIMA or custom applications.

As newer deep-learning NLP stacks arrived, OpenNLP remained relevant for lightweight, inspectable, trainable components and for organizations with Java pipelines that need sentence splitting, tokenization, tagging, NER, and parser tools without adopting a Python-heavy stack.

### How it is used

The Homebrew package exposes the opennlp command. Apache's manual says the binary distribution includes an opennlp script for Linux-compatible systems and opennlp.bat for Windows, with OPENNLP_HOME and PATH used to make the tools convenient.

Typical CLI usage invokes a tool name plus a model, reading from stdin and writing to stdout, or runs trainer commands with model output, language, training data, encoding, and task-specific options. That makes the package friendly for shell pipelines and repeatable model-training experiments.

### Why package nerds care

OpenNLP is appealing to package nerds because it is a Java NLP library with a real Unix-style CLI surface. You can install it, fetch or provide models, pipe text through tokenizers or taggers, and train task-specific models without building an application first.

It also carries a visible history of pre-Apache open-source distribution: SourceForge-era releases and models, Apache incubation, Maven artifacts, and a CLI that still exposes the toolkit as a collection of small named NLP tools.

### Timeline

- 2010: OpenNLP enters the Apache Incubator.
- 2011: Apache OpenNLP 1.5.2-incubating is released.
- 2012: OpenNLP graduates as an Apache top-level project.
- 2026: Apache documentation lists current 2.x and 3.x milestone manuals and Javadocs.

### Related projects

- Apache UIMA is an adjacent Java text-analysis framework with documented OpenNLP integration.
- SourceForge-era OpenNLP models, Maven Central artifacts, ONNX Runtime support, and Java NLP pipelines are common adjacent pieces.

### Sources

- <https://incubator.apache.org/projects/opennlp.html>
- <https://opennlp.apache.org/docs/2.5.4/manual/opennlp.html>
- <https://opennlp.apache.org/download.html>
- <https://opennlp.apache.org/models.html>
- <https://opennlp.apache.org/news/news-2010-11-23.html>


## Security Notes

narrow executable package without higher-risk signals.

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

## Other Package-Manager Records

- Debian apt - libapache-opennlp-java - 2.5.3-1: normalized package name match | Debian stable package indexes: libapache-opennlp-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | machine learning based toolkit for the processing of natural language text | https://opennlp.apache.org
- Debian apt - opennlp - 2.5.3-1: normalized package name match | Debian stable package indexes: opennlp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | wrapper for Apache OpenNLP natural language text processing toolkit | https://opennlp.apache.org
- Ubuntu apt - libapache-opennlp-java - 2.3.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libapache-opennlp-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | machine learning based toolkit for the processing of natural language text | https://opennlp.apache.org
- Ubuntu apt - opennlp - 2.3.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: opennlp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | wrapper for Apache OpenNLP natural language text processing toolkit | https://opennlp.apache.org
- zypper - opennlp - 1.9.5-2.1: installed executable or alias match | openSUSE Tumbleweed package metadata: opennlp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A machine learning based toolkit for the processing of natural language text | https://opennlp.apache.org/
- zypper - opennlp-morfologik-addon - 1.9.5-2.1: installed executable or alias match | openSUSE Tumbleweed package metadata: opennlp-morfologik-addon from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Apache OpenNLP Morfologik Addon | https://opennlp.apache.org/
- zypper - opennlp-tools - 1.9.5-2.1: installed executable or alias match | openSUSE Tumbleweed package metadata: opennlp-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Apache OpenNLP Tools | https://opennlp.apache.org/
- zypper - opennlp-uima - 1.9.5-2.1: installed executable or alias match | openSUSE Tumbleweed package metadata: opennlp-uima from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Apache OpenNLP UIMA Annotators | https://opennlp.apache.org/


## Combined YAML source

View the package source record on GitHub. [combined/apache-opennlp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/apache-opennlp.yml)


## Sources

- 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
