Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix 安装 mecab

查看 mecab 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mecab

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mecab

MacPorts ports tree · textproc/mecab/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install mecab

Debian stable package indexes · mecab · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install mecab

Fedora Rawhide package metadata · mecab · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#mecab

nixpkgs package indexes · pkgs/by-name/me/mecab/package.nix · 来源: api.github.com

概览

软件包摘要

Yet another part-of-speech and morphological analyzer

命令和别名

  • mecab
  • mecab-config

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mecabcli全局可执行文件
mecab-configcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.996
管理器更新时间2026-06-16
本地数据OK
上游not checked
检测到的最新版本未检测到

https://taku910.github.io/mecab/

安装元数据

软件包元数据

软件包键brew:mecab
版本0.996
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mecab
主页https://taku910.github.io/mecab/
仓库https://github.com/taku910/mecab
上游文档https://taku910.github.io/mecab
许可证GPL-2.0-only OR LGPL-2.1-only OR BSD-3-Clause
源码归档https://deb.debian.org/debian/pool/main/m/mecab/mecab_0.996.orig.tar.gz
最后更新2026-06-16T20:46:20Z
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libmecab-dev 0.996-15.1+b6

Header files of Mecab

https://taku910.github.io/mecab/

sudo apt install libmecab-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mecab
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmecab-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmecab-java 0.996-15.1

mecab binding for Java - java classes

https://taku910.github.io/mecab/

sudo apt install libmecab-java
  • Section: java
  • Architecture: all
  • Source Package: mecab
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmecab-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmecab-jni 0.996-15.1+b6

mecab binding for Java - native interface

https://taku910.github.io/mecab/

sudo apt install libmecab-jni
  • Section: java
  • Architecture: amd64
  • Source Package: mecab
  • 4 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmecab-jni from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmecab-perl 0.996-15.1+b6

Mecab binding for Perl

https://taku910.github.io/mecab/

sudo apt install libmecab-perl
  • Section: perl
  • Architecture: amd64
  • Source Package: mecab
  • 6 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmecab-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmecab2 0.996-15.1+b6

Libraries of Mecab

https://taku910.github.io/mecab/

sudo apt install libmecab2
  • Section: libs
  • Architecture: amd64
  • Source Package: mecab
  • 3 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmecab2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mecab 0.996-15.1+b6

Japanese morphological analysis system

https://taku910.github.io/mecab/

sudo apt install mecab
  • Section: misc
  • Architecture: amd64
  • Source Package: mecab
  • 4 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mecab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mecab-utils 0.996-15.1+b6

Support programs of Mecab

https://taku910.github.io/mecab/

sudo apt install mecab-utils
  • Section: misc
  • Architecture: amd64
  • Source Package: mecab
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mecab-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-mecab 0.996-15.1+b6

Mecab binding for Python3

https://taku910.github.io/mecab/

sudo apt install python3-mecab
  • Section: python
  • Architecture: amd64
  • Source Package: mecab
  • 5 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-mecab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ruby-mecab 0.996-15.1+b6

Mecab binding for Ruby language

https://taku910.github.io/mecab/

sudo apt install ruby-mecab
  • Section: ruby
  • Architecture: amd64
  • Source Package: mecab
  • 6 依赖
  • normalized package name match
  • 匹配方式:Mecab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ruby-mecab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mecab

nix profile install nixpkgs#mecab
  • normalized package name match
  • 匹配方式:Mecab
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/mecab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libmecab-dev 0.996-14ubuntu4

Header files of Mecab

https://taku910.github.io/mecab/

sudo apt install libmecab-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mecab
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mecab
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmecab-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libmecab-java 0.996-14ubuntu4

mecab binding for Java - java classes

https://taku910.github.io/mecab/

sudo apt install libmecab-java
  • Section: universe/java
  • Architecture: all
  • Source Package: mecab
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mecab
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmecab-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmecab-jni 0.996-14ubuntu4

mecab binding for Java - native interface

https://taku910.github.io/mecab/

sudo apt install libmecab-jni
  • Section: universe/java
  • Architecture: amd64
  • Source Package: mecab
  • 4 依赖
  • normalized package name match
  • 匹配方式:Mecab
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmecab-jni from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmecab-perl 0.996-14ubuntu4

Mecab binding for Perl

https://taku910.github.io/mecab/

sudo apt install libmecab-perl
  • Section: universe/perl
  • Architecture: amd64
  • Source Package: mecab
  • 6 依赖
  • normalized package name match
  • 匹配方式:Mecab
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmecab-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmecab2 0.996-14ubuntu4

Libraries of Mecab

https://taku910.github.io/mecab/

sudo apt install libmecab2
  • Section: libs
  • Architecture: amd64
  • Source Package: mecab
  • 3 依赖
  • normalized package name match
  • 匹配方式:Mecab
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmecab2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

mecab 0.996-14ubuntu4

Japanese morphological analysis system

https://taku910.github.io/mecab/

sudo apt install mecab
  • Section: universe/misc
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Mecab
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mecab from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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