# mecab mit Homebrew, apt, dnf, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für mecab in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:mecab
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install mecab
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mecab
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install mecab
```

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

- dnf (92%):

```sh
sudo dnf install mecab
```

  Evidenz: Fedora Rawhide package metadata: mecab from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mecab
```

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

## Paketfakten

- **Paketschlüssel:** brew:mecab
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/mecab>
- **Version:** 0.996
- **Quellzusammenfassung:** Yet another part-of-speech and morphological analyzer
- **Homepage:** <https://taku910.github.io/mecab/>
- **Upstream-Dokumentation:** <https://taku910.github.io/mecab/>
- **Lizenz:** GPL-2.0-only OR LGPL-2.1-only OR BSD-3-Clause
- **Quellarchiv:** <https://deb.debian.org/debian/pool/main/m/mecab/mecab_0.996.orig.tar.gz>
- **Zuletzt aktualisiert:** 2026-08-02T23:54:37-04:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- mecab (cli)
- mecab-config (cli)
- mecab (Alias)
- mecab-config (Alias)

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 0.996
- Manager aktualisiert: 2026-08-02
- lokale Daten: OK
- Upstream-Repository: https://taku910.github.io/mecab/
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

MeCab is a Japanese part-of-speech and morphological analyzer. The official documentation describes it as an open-source engine developed through the Kyoto University Graduate School of Informatics and NTT Communication Science Laboratories joint research unit project.

### Projektgeschichte

MeCab was designed to be independent of language, dictionary, and corpus, using Conditional Random Fields for parameter estimation. Its documentation contrasts this with ChaSen's hidden Markov model and states that MeCab is faster on average than ChaSen, Juman, and KAKASI.

The release history in the official documentation starts with MeCab 0.90 as the initial release on 2006-03-26. Version 0.93 in July 2006 changed the license to a GPL, LGPL, or BSD triple-license model, and later releases added faster dictionary compilation, HMM training support, partial parsing APIs, retraining, and user dictionary cost estimation.

### Adoptionsgeschichte

Official downloads separate the engine from dictionaries such as IPA, Juman, and UniDic, and list bindings for Perl, Ruby, Python, and Java. The input package facts show broad package-manager coverage across Homebrew, Debian, Ubuntu, Fedora, MacPorts, and Nix, reflecting MeCab's long-lived role as infrastructure for Japanese NLP.

### Wie es verwendet wird

The docs cover direct parsing, wakati output, output-format customization, character-set changes, N-best output, adding words, dictionary format details, unknown-word handling, partial parsing, soft-wakati output, the C/C++ library interface, and script-language bindings. The command-line tools `mecab` and `mecab-config` expose those capabilities to packages and build scripts.

### Warum Paket-Nerds sich dafür interessieren

MeCab is a classic package-manager NLP dependency: small native engine, separate dictionaries, command-line interface, C/C++ library, and bindings. It is especially important because many downstream Japanese text tools depend on the stable `mecab` executable and dictionary layout rather than embedding an analyzer.

### Zeitleiste

- 2006: MeCab 0.90 initial release.
- 2006: MeCab 0.93 changes licensing to GPL, LGPL, or BSD.
- 2012: MeCab 0.994 adds retraining and automatic user-dictionary cost estimation.
- 2013: MeCab 0.996 fixes iconv linking and adds user-dictionary CSV cost/context generation.

### Related projects

- ChaSen, Juman, KAKASI, IPA dictionary, Juman dictionary, UniDic, mecab-ko.

### Quellen

- <https://github.com/taku910/mecab>
- <https://raw.githubusercontent.com/taku910/mecab/master/mecab/doc/index.html>
- <https://taku910.github.io/mecab/>
- source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- Debian apt - libmecab-dev - 0.996-15.1+b6: normalized package name match | Debian stable package indexes: libmecab-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Header files of Mecab | https://taku910.github.io/mecab/
- Debian apt - libmecab-java - 0.996-15.1: normalized package name match | Debian stable package indexes: libmecab-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | mecab binding for Java - java classes | https://taku910.github.io/mecab/
- Debian apt - libmecab-jni - 0.996-15.1+b6: normalized package name match | Debian stable package indexes: libmecab-jni from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | mecab binding for Java - native interface | https://taku910.github.io/mecab/
- Debian apt - libmecab-perl - 0.996-15.1+b6: normalized package name match | Debian stable package indexes: libmecab-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mecab binding for Perl | https://taku910.github.io/mecab/
- Debian apt - libmecab2 - 0.996-15.1+b6: normalized package name match | Debian stable package indexes: libmecab2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Libraries of Mecab | https://taku910.github.io/mecab/
- Debian apt - mecab - 0.996-15.1+b6: normalized package name match | Debian stable package indexes: mecab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Japanese morphological analysis system | https://taku910.github.io/mecab/
- Debian apt - mecab-utils - 0.996-15.1+b6: normalized package name match | Debian stable package indexes: mecab-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Support programs of Mecab | https://taku910.github.io/mecab/
- Debian apt - python3-mecab - 0.996-15.1+b6: normalized package name match | Debian stable package indexes: python3-mecab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mecab binding for Python3 | https://taku910.github.io/mecab/
- Debian apt - ruby-mecab - 0.996-15.1+b6: normalized package name match | Debian stable package indexes: ruby-mecab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mecab binding for Ruby language | https://taku910.github.io/mecab/
- Nix - mecab: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/mecab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmecab-dev - 0.996-14ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libmecab-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Header files of Mecab | https://taku910.github.io/mecab/
- Ubuntu apt - libmecab-java - 0.996-14ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libmecab-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | mecab binding for Java - java classes | https://taku910.github.io/mecab/
- Ubuntu apt - libmecab-jni - 0.996-14ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libmecab-jni from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | mecab binding for Java - native interface | https://taku910.github.io/mecab/
- Ubuntu apt - libmecab-perl - 0.996-14ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libmecab-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Mecab binding for Perl | https://taku910.github.io/mecab/
- Ubuntu apt - libmecab2 - 0.996-14ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libmecab2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Libraries of Mecab | https://taku910.github.io/mecab/
- Ubuntu apt - mecab - 0.996-14ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: mecab from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Japanese morphological analysis system | https://taku910.github.io/mecab/


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/de/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [groonga](https://pkg.so/de/brew/groonga/) - Popular package that depends on this formula.
- [mecab-ipadic](https://pkg.so/de/brew/mecab-ipadic/) - Popular package that depends on this formula.
- [cabocha](https://pkg.so/de/brew/cabocha/) - Popular package that depends on this formula.
- [mecab-unidic](https://pkg.so/de/brew/mecab-unidic/) - Popular package that depends on this formula.
- [mecab-unidic-extended](https://pkg.so/de/brew/mecab-unidic-extended/) - Popular package that depends on this formula.
- [mecab-jumandic](https://pkg.so/de/brew/mecab-jumandic/) - Popular package that depends on this formula.
- [wordnet](https://pkg.so/de/brew/wordnet/) - Shares pkgdb curated category or tags: cli, data, nlp.
- [stanford-ner](https://pkg.so/de/brew/stanford-ner/) - Shares pkgdb curated category or tags: cli, data, nlp.
- [stanford-corenlp](https://pkg.so/de/brew/stanford-corenlp/) - Shares pkgdb curated category or tags: cli, data, nlp.
- [stanford-parser](https://pkg.so/de/brew/stanford-parser/) - Shares pkgdb curated category or tags: cli, data, nlp.
- [crfsuite](https://pkg.so/de/brew/crfsuite/) - Shares pkgdb curated category or tags: cli, data, nlp.
- [sqlite](https://pkg.so/de/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data.
- [protobuf](https://pkg.so/de/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data.
- [jumanpp](https://pkg.so/de/brew/jumanpp/) - Local package facts share a topical domain. Shared terms: analysis, analyzer, cli, japanese, language.
- [juman](https://pkg.so/de/brew/juman/) - Local package facts share a topical domain. Shared terms: analysis, cli, japanese, language, morphological.

## Combined YAML source

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


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
