# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **Version:** 0.996
- **Quellzusammenfassung:** Yet another part-of-speech and morphological analyzer
- **Homepage:** <https://taku910.github.io/mecab/>
- **Zuletzt aktualisiert:** 2026-08-02T23:54:37-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

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

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.996
## 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

## 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/


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
