# Install libkiwix with Homebrew, apk, apt, dnf, Nix, pacman

Common code base for all Kiwix ports. Version 14.2.1 via Homebrew; verified 2026-06-21.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libkiwix
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libkiwix
```

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

- Debian apt (92%):

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

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

- dnf (92%):

```sh
sudo dnf install libkiwix
```

  Evidence: Fedora Rawhide package metadata: libkiwix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libkiwix
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:libkiwix
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libkiwix>
- **Version:** 14.2.1
- **Source summary:** Common code base for all Kiwix ports
- **Homepage:** <https://github.com/kiwix/libkiwix>
- **Repository:** <https://github.com/kiwix/libkiwix>
- **Upstream docs:** <https://github.com/kiwix/libkiwix#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/kiwix/libkiwix/archive/refs/tags/14.2.1.tar.gz>
- **Last updated:** 2026-06-21T00:20:16Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- kiwix-compile-i18n (cli)
- kiwix-compile-resources (cli)
- kiwix-compile-i18n (alias)
- kiwix-compile-resources (alias)

## Dependencies

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

## Build dependencies

- meson
- ninja
- pkgconf

## Uses from macOS

- curl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 14.2.1
- Package-manager updated: 2026-06-21
- Local data: ok
- Upstream repository: https://github.com/kiwix/libkiwix
- Upstream latest detected: 14.2.1 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for libkiwix. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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

## Other Package-Manager Records

- 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-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Common code base for all Kiwix ports | https://github.com/kiwix/libkiwix
- dnf - libkiwix-devel - 14.2.1-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [xapian](https://www.automicvault.com/pkg/brew/xapian/) - Runtime dependency declared by Homebrew.
- [meson](https://www.automicvault.com/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [avro-cpp](https://www.automicvault.com/pkg/brew/avro-cpp/) - Shares av.db curated category or tags: cli, cpp, data.
- [bzip2](https://www.automicvault.com/pkg/brew/bzip2/) - Shares av.db curated category or tags: cli, data, library.
- [gdbm](https://www.automicvault.com/pkg/brew/gdbm/) - Shares av.db curated category or tags: cli, data, library.
- [kyoto-cabinet](https://www.automicvault.com/pkg/brew/kyoto-cabinet/) - Shares av.db curated category or tags: cli, data, library.
- [leveldb](https://www.automicvault.com/pkg/brew/leveldb/) - Shares av.db curated category or tags: cli, data, library.
- [libgrape-lite](https://www.automicvault.com/pkg/brew/libgrape-lite/) - Shares av.db curated category or tags: cli, data, library.
- [libiodbc](https://www.automicvault.com/pkg/brew/libiodbc/) - Shares av.db curated category or tags: cli, data, library.
- [liblzf](https://www.automicvault.com/pkg/brew/liblzf/) - Shares av.db curated category or tags: cli, data, library.
- [doltgres](https://www.automicvault.com/pkg/brew/doltgres/) - Local package facts share a topical domain. Shared terms: cli, data, icu4c, icu4c-78.
- [mysql](https://www.automicvault.com/pkg/brew/mysql/) - Local package facts share a topical domain. Shared terms: cli, data, icu4c, icu4c-78.
- [zxing-cpp](https://www.automicvault.com/pkg/brew/zxing-cpp/) - Local package facts share a topical domain. Shared terms: cli, code, cpp, data, library.

## Combined YAML source

View the package source record on GitHub. [combined/libkiwix.yml](https://github.com/automic-vault/db/blob/main/combined/libkiwix.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
