Automic VaultAutomic Vault

brew

使用 Homebrew, apt 安装 libmobi

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libmobi

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install libmobi-dev

Debian stable package indexes · libmobi-dev · 来源: deb.debian.org

概览

软件包摘要

C library for handling Kindle (MOBI) formats of ebook documents

命令和别名

  • mobidrm
  • mobimeta
  • mobitool

历史

项目历史与用法

Libmobi is a C library and tool suite for Mobipocket and Kindle MOBI-family ebook files. It gives Unix packages a small native way to inspect, parse, reconstruct, edit metadata, and handle older Kindle document formats.

项目历史

The project README describes Libmobi as a C library for Mobipocket/Kindle MOBI ebook documents, with command-line tools that also serve as examples for the library API. Its feature list covers PalmDOC, PRC, MOBI, newer KF8/AZW/AZW3, AZW4, metadata editing, encrypted documents, dictionary markup reconstruction, and output that can be fed back to kindlegen.

The release history shows a practical, parser-maintenance project: early releases added metadata extraction and mobimeta, while later releases focused heavily on corrupted-input handling, fuzzing-reported overreads, null dereferences, portability, and build fixes.

采用历史

Libmobi is niche because MOBI is an older Kindle-era format, but it is useful in ebook tooling and preservation workflows where existing collections contain .mobi, .azw, or .azw3 files. The README names projects using it, including KyBook 2 Reader, @Voice Aloud Reader, and the QLMobi Quick Look plugin.

Homebrew, Debian, and Ubuntu package libmobi, making its command-line tools mobidrm, mobimeta, and mobitool available without building from source.

使用方式

Developers include mobi.h and link with -lmobi to load MOBI files into library structures and parse raw content into HTML, CSS, fonts, and media resources. Command-line users use mobitool and related tools for inspection and metadata work.

The package is most useful for archival conversion, ebook metadata cleanup, Kindle-file debugging, and applications that still need to understand MOBI-family files even as EPUB dominates newer publishing workflows.

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

Libmobi is significant as an ebook-format archaeology package: it wraps a historically important commercial reading format in inspectable C code and command-line utilities.

Its fuzzing-heavy maintenance story is also notable. Ebook parsers process complex, often third-party-generated files, so the small package has a security and robustness role out of proportion to its install counts.

时间线

  • 2010s: Libmobi is developed publicly as a C library for Mobipocket and Kindle file formats.
  • 2021: Libmobi 0.7 and 0.8 fix corrupt-data crashes and CVE-assigned out-of-buffer reads.
  • 2022: Libmobi 0.11 fixes multiple fuzzing-discovered buffer overreads and null pointer dereferences.
  • 2024: Libmobi 0.12 fixes build issues with newer libxml, MSVC debug builds, clang warnings, and corrupt-input undefined behavior.

Related projects

  • Mobipocket and Kindle formats are the document families Libmobi targets.
  • kindlegen is relevant because Libmobi can reconstruct source structure that can be fed back to it.
  • QLMobi is a related Quick Look plugin that uses Libmobi for MOBI preview support.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mobidrmcli全局可执行文件
mobimetacli全局可执行文件
mobitoolcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/bfabiszewski/libmobi

安装元数据

软件包元数据

软件包键brew:libmobi
版本0.12
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libmobi
主页https://github.com/bfabiszewski/libmobi
仓库https://github.com/bfabiszewski/libmobi
上游文档https://github.com/bfabiszewski/libmobi#readme
许可证LGPL-3.0-or-later
源码归档https://github.com/bfabiszewski/libmobi/releases/download/v0.12/libmobi-0.12.tar.gz
最后更新2026-06-19T12:32:37-07:00
Pulseupdated
macOS 提供的库libxml2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libmobi-dev 0.12+dfsg-1

Development files for libmobi

https://github.com/bfabiszewski/libmobi

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

libmobi-tools 0.12+dfsg-1

Tools for handling Mobipocket/Kindle ebook format documents

https://github.com/bfabiszewski/libmobi

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

libmobi0t64 0.12+dfsg-1

C library for handling Mobipocket/Kindle ebook format documents

https://github.com/bfabiszewski/libmobi

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

libmobi-dev 0.11+dfsg-1.1build1

Development files for libmobi

https://github.com/bfabiszewski/libmobi

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

libmobi-tools 0.11+dfsg-1.1build1

Tools for handling Mobipocket/Kindle ebook format documents

https://github.com/bfabiszewski/libmobi

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

libmobi0t64 0.11+dfsg-1.1build1

C library for handling Mobipocket/Kindle ebook format documents

https://github.com/bfabiszewski/libmobi

sudo apt install libmobi0t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libmobi
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libmobi
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmobi0t64 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