# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 14.2.1
- **来源摘要:** Common code base for all Kiwix ports
- **主页:** <https://github.com/kiwix/libkiwix>
- **仓库:** <https://github.com/kiwix/libkiwix>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 14.2.1
## 项目历史与用法

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


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