# 使用 Homebrew, apk, dnf, Nix, pacman, apt 安装 libkiwix

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

## 安装

```sh
sudo av install brew:libkiwix
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libkiwix
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libkiwix
```

  证据: Alpine Linux edge package indexes: libkiwix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libkiwix
```

  证据: Fedora Rawhide package metadata: libkiwix 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#libkiwix
```

  证据: nixpkgs package indexes: pkgs/by-name/li/libkiwix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libkiwix
```

  证据: Arch Linux sync databases: libkiwix from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libkiwix-dev
```

  证据: Debian stable package indexes: libkiwix-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:libkiwix
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libkiwix>
- **版本:** 14.2.1
- **来源摘要:** Common code base for all Kiwix ports
- **主页:** <https://github.com/kiwix/libkiwix>
- **仓库:** <https://github.com/kiwix/libkiwix>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/kiwix/libkiwix/archive/refs/tags/14.2.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- kiwix-compile-i18n (cli)
- kiwix-compile-resources (cli)
- kiwix-compile-i18n (别名)
- kiwix-compile-resources (别名)

## 依赖

- icu4c@78
- libmicrohttpd
- libzim
- pugixml
- xapian

## 构建依赖

- meson
- ninja
- pkgconf

## macOS 提供的库

- curl

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 14.2.1
- 本地数据: OK
- 上游仓库: https://github.com/kiwix/libkiwix
- 检测到的最新版本: 14.2.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

libkiwix is the shared C++ core of the Kiwix software suite, which reads and serves offline web-content archives in the ZIM format. It packages the reusable pieces used across Kiwix ports for desktop, mobile, server, and related tools.

### 项目历史

Kiwix developed around the idea that large web knowledge bases, especially Wikipedia, should be browsable without a network connection. libkiwix separated the shared application core from individual ports, giving Kiwix a library layer for ZIM integration, HTTP serving, resource compilation, internationalization, and common UI/server assets.

The repository's 0.1 tag is anchored in March 2017, with a 1.0.0 release merge in October 2017 and a 3.1.0 release merge in December 2018. The README describes the library as code shared by all Kiwix ports on Windows, GNU/Linux, macOS, Android, iOS, and other platforms.

### 采用历史

libkiwix adoption follows Kiwix adoption: schools, offline deployments, constrained networks, and personal archives need native tools that can read ZIM files and expose them through desktop interfaces or HTTP servers. Packages in Homebrew and major Linux distributions make the shared core available without building the whole Kiwix stack by hand.

Its dependency list shows where it sits in the offline-content stack: libzim for archive access, ICU for language handling, libcurl and aria2 for network/download support, microhttpd for serving, and Meson/Ninja for modern builds.

### 使用方式

End users usually see libkiwix through Kiwix applications rather than calling the library directly. Developers and packagers use it to build Kiwix Desktop, kiwix-tools, embedded HTTP serving, library management, resource compilation, and custom index pages for ZIM collections.

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

libkiwix is a good example of a project-specific shared core becoming a distribution package because downstream ports need consistent ABI, dependencies, and data-format behavior. For package managers, it connects a large offline-knowledge application family to the smaller openZIM/libzim ecosystem.

### 时间线

- 2017-03-21: 0.1 tag points at a Meson project-version fix.
- 2017-10-23: 1.0.0 release merge.
- 2018-12-03: 3.1.0 release merge.
- 2020s: README documents shared use across Windows, GNU/Linux, macOS, Android, iOS, and POSIX build paths.

### Related projects

- Related projects include Kiwix Desktop, kiwix-tools, openZIM, libzim, zimwriterfs, ICU, aria2, libcurl, GNU libmicrohttpd, and the broader Kiwix offline-content catalog.

### 来源

- <https://formulae.brew.sh/formula/libkiwix>
- <https://github.com/kiwix/kiwix-desktop>
- <https://github.com/kiwix/kiwix-tools>
- <https://github.com/kiwix/libkiwix>
- <https://github.com/kiwix/libkiwix/tags>
- <https://libkiwix.readthedocs.io/en/stable>


## 安全说明

没有找到 libkiwix 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - libkiwix-dev - 14.0.0-1.1+b1: normalized package name match | Debian stable package indexes: libkiwix-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library of common code for Kiwix (development) | https://github.com/kiwix/libkiwix
- Debian apt - libkiwix14 - 14.0.0-1.1+b1: normalized package name match | Debian stable package indexes: libkiwix14 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library of common code for Kiwix | https://github.com/kiwix/libkiwix
- Nix - libkiwix: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libkiwix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libkiwix-dev - 12.1.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libkiwix-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library of common code for Kiwix (development) | https://github.com/kiwix/libkiwix
- Ubuntu apt - libkiwix12t64 - 12.1.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libkiwix12t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library of common code for Kiwix | https://github.com/kiwix/libkiwix
- apk - libkiwix - 14.2.0-r1: normalized package name match | Alpine Linux edge package indexes: libkiwix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Common code base for all Kiwix ports | https://github.com/kiwix/libkiwix
- apk - libkiwix-dev - 14.2.0-r1: normalized package name match | Alpine Linux edge package indexes: libkiwix-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Common code base for all Kiwix ports (development files) | https://github.com/kiwix/libkiwix
- apk - libkiwix-doc - 14.2.0-r1: normalized package name match | Alpine Linux edge package indexes: libkiwix-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Common code base for all Kiwix ports (documentation) | https://github.com/kiwix/libkiwix
- dnf - libkiwix - 14.2.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: libkiwix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Common code base for all Kiwix ports | https://github.com/kiwix/libkiwix
- dnf - libkiwix-devel - 14.2.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: libkiwix-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for libkiwix | https://github.com/kiwix/libkiwix
- pacman - libkiwix - 14.2.1-1: normalized package name match | Arch Linux sync databases: libkiwix from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Library providing the Kiwix software core | https://github.com/kiwix/libkiwix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [xapian](https://pkg.so/zh-hans/brew/xapian/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/zh-hans/brew/meson/) - Build dependency declared by Homebrew.
- [bzip2](https://pkg.so/zh-hans/brew/bzip2/) - Shares pkgdb curated category or tags: cli, data, library.
- [gdbm](https://pkg.so/zh-hans/brew/gdbm/) - Shares pkgdb curated category or tags: cli, data, library.
- [xerces-c](https://pkg.so/zh-hans/brew/xerces-c/) - Shares pkgdb curated category or tags: cli, data, library.
- [libmatio](https://pkg.so/zh-hans/brew/libmatio/) - Shares pkgdb curated category or tags: cli, data, library.
- [libmaxminddb](https://pkg.so/zh-hans/brew/libmaxminddb/) - Shares pkgdb curated category or tags: cli, data, library.
- [leveldb](https://pkg.so/zh-hans/brew/leveldb/) - Shares pkgdb curated category or tags: cli, data, library.
- [libmemcached](https://pkg.so/zh-hans/brew/libmemcached/) - Shares pkgdb curated category or tags: cli, data, library.
- [doltgres](https://pkg.so/zh-hans/brew/doltgres/) - Local package facts share a topical domain. Shared terms: cli, data, icu4c, icu4c-78.
- [mysql](https://pkg.so/zh-hans/brew/mysql/) - Local package facts share a topical domain. Shared terms: cli, data, icu4c, icu4c-78.
- [mysql@8.0](https://pkg.so/zh-hans/brew/mysql-8-0/) - Local package facts share a topical domain. Shared terms: cli, data, icu4c, icu4c-78.

## Combined YAML source

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


## 来源

- 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
