Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, Nix, pacman, zypper 安装 marisa

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install marisa

local Homebrew formula metadata

Linux

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

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

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

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

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S marisa

Arch Linux sync databases · marisa · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install marisa

openSUSE Tumbleweed package metadata · marisa · 来源: download.opensuse.org

概览

软件包摘要

Matching Algorithm with Recursively Implemented StorAge

命令和别名

  • marisa-benchmark
  • marisa-build
  • marisa-common-prefix-search
  • marisa-dump
  • marisa-lookup
  • marisa-predictive-search
  • marisa-reverse-lookup

历史

项目历史与用法

MARISA is a compact static trie implementation whose name expands to Matching Algorithm with Recursively Implemented StorAge. The Homebrew package exposes libmarisa and its dictionary-building/search command-line tools rather than an end-user application.

项目历史

The official repository describes MARISA as a static, space-efficient trie data structure and libmarisa as the C++ implementation. Its README emphasizes dictionary operations such as lookup, reverse lookup, common-prefix search, and predictive search, and compares the MARISA trie favorably against other trie implementations on an English Wikipedia title dataset.

The current GitHub repository was created in 2016 and still publishes source and binary-oriented build instructions with CMake. The project has continued with modern releases, including v0.3.1 in July 2025, after earlier 0.2.x and 0.3.x tags.

采用历史

MARISA entered package-manager culture as a small native library plus utilities: the supplied Homebrew facts list packages in Homebrew, Debian/Ubuntu, Fedora, Nix, Arch, and openSUSE families. Its adoption is strongest where compact dictionaries and prefix search matter more than a standalone user interface.

The GitHub project has hundreds of stars and forks, indicating a modest but durable user base for a specialized data-structure library.

使用方式

Typical CLI usage is to build a MARISA-based dictionary with marisa-build and inspect or query it with tools such as marisa-lookup, marisa-reverse-lookup, marisa-common-prefix-search, and marisa-predictive-search. Library users embed libmarisa when they need static dictionaries with compact storage and fast lookup behavior.

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

MARISA is the kind of formula package maintainers keep around because other software can depend on it quietly. It is not a broad Markdown-style tool; it is a compact C++ library with testable command-line utilities, a permissive/copyleft dual license, and cross-distro packaging.

时间线

  • 2016: Current GitHub repository created.
  • 2025: v0.3.1 listed as the latest GitHub release.
  • 2026: Package-manager metadata shows Homebrew, Debian/Ubuntu, Fedora, Nix, Arch, and openSUSE coverage.

Related projects

  • The README compares MARISA with darts-clone and tx-trie as alternative compact trie implementations.
  • Bindings and language files in the repository indicate use from C++, C, Python, Ruby, and Perl-adjacent tooling.

安全态势

风险级别:绿色

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 元数据适用于 8 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
marisa-benchmarkcli全局可执行文件
marisa-buildcli全局可执行文件
marisa-common-prefix-searchcli全局可执行文件
marisa-dumpcli全局可执行文件
marisa-lookupcli全局可执行文件
marisa-predictive-searchcli全局可执行文件
marisa-reverse-lookupcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本0.3.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.3.1

https://github.com/s-yata/marisa-trie

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:marisa
版本0.3.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/marisa
主页https://github.com/s-yata/marisa-trie
仓库https://github.com/s-yata/marisa-trie
上游文档https://github.com/s-yata/marisa-trie#readme
许可证BSD-2-Clause OR LGPL-2.1-or-later
源码归档https://github.com/s-yata/marisa-trie/archive/refs/tags/v0.3.1.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libmarisa-dev 0.2.6-19

development files for libmarisa

https://github.com/s-yata/marisa-trie

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

libmarisa-perl 0.2.6-19

Perl bindings for MARISA

https://github.com/s-yata/marisa-trie

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

libmarisa0 0.2.6-19

C++ library to provide an implementation of MARISA

https://github.com/s-yata/marisa-trie

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

marisa 0.2.6-19

command line tools for libmarisa

https://github.com/s-yata/marisa-trie

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

python3-marisa 0.2.6-19

Python3 bindings for MARISA

https://github.com/s-yata/marisa-trie

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

ruby-marisa 0.2.6-19

Ruby bindings for MARISA

https://github.com/s-yata/marisa-trie

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

marisa

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

libmarisa-dev 0.2.6-14ubuntu4

development files for libmarisa

https://github.com/s-yata/marisa-trie

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

libmarisa-perl 0.2.6-14ubuntu4

Perl bindings for MARISA

https://github.com/s-yata/marisa-trie

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

libmarisa0 0.2.6-14ubuntu4

C++ library to provide an implementation of MARISA

https://github.com/s-yata/marisa-trie

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

marisa 0.2.6-14ubuntu4

command line tools for libmarisa

https://github.com/s-yata/marisa-trie

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

python3-marisa 0.2.6-14ubuntu4

Python3 bindings for MARISA

https://github.com/s-yata/marisa-trie

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

ruby-marisa 0.2.6-14ubuntu4

Ruby bindings for MARISA

https://github.com/s-yata/marisa-trie

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

marisa 0.3.0-8.fc45

Static and spece-efficient trie data structure library

https://github.com/s-yata/marisa-trie

sudo dnf install marisa
  • License: BSD-2-Clause OR LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: marisa
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Marisa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: marisa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

marisa-devel 0.3.0-8.fc45

Development files for marisa

https://github.com/s-yata/marisa-trie

sudo dnf install marisa-devel
  • License: BSD-2-Clause OR LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: marisa
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Marisa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: marisa-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

marisa-perl 0.3.0-8.fc45

Perl language binding for marisa

https://github.com/s-yata/marisa-trie

sudo dnf install marisa-perl
  • License: BSD-2-Clause OR LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: marisa
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Marisa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: marisa-perl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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