# Install chmlib with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Library for dealing with Microsoft ITSS/CHM files. Version 0.40 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:chmlib
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install chmlib
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install chmlib
```

  Evidence: MacPorts ports tree: textproc/chmlib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install libchm-bin
```

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

- dnf (92%):

```sh
sudo dnf install chmlib
```

  Evidence: Fedora Rawhide package metadata: chmlib 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#chmlib
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ch/chmlib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S chmlib
```

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

- zypper (92%):

```sh
sudo zypper install chmlib-devel
```

  Evidence: openSUSE Tumbleweed package metadata: chmlib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:chmlib
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/chmlib>
- **Version:** 0.40
- **Source summary:** Library for dealing with Microsoft ITSS/CHM files
- **Homepage:** <https://www.jedrea.com/chmlib/>
- **Repository:** <https://github.com/jedwing/CHMLib>
- **Upstream docs:** <https://github.com/jedwing/CHMLib#readme>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://www.jedrea.com/chmlib/chmlib-0.40.tar.gz>
- **Last updated:** 2026-06-19T12:30:03-07:00
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- chm_http (cli)
- enum_chmLib (cli)
- enumdir_chmLib (cli)
- extract_chmLib (cli)
- test_chmLib (cli)
- chm_http (alias)
- enum_chmLib (alias)
- enumdir_chmLib (alias)
- extract_chmLib (alias)
- test_chmLib (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 0.40
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://www.jedrea.com/chmlib/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

chmlib is a small C library and set of utilities for reading Microsoft ITSS/CHM Html Help files.

### Project history

The upstream README for CHMLIB 0.40a says the library was designed for accessing MS ITSS files, the format used by Microsoft Html Help .chm documentation, and supports archive lookup and reading but not writing. The GitHub source tree was imported in 2006 at version 0.37, while the NEWS file records earlier 0.2, 0.3, 0.32, and 0.35 release history.

### Adoption history

The README credits portability work across Linux, Win32, OS X, Solaris, IRIX, Windows CE, MinGW32, x86-64, and ia64, plus Debian package maintainers. The input package facts show modern distribution through Homebrew, Debian/Ubuntu, Fedora/DNF, MacPorts, Nix, Arch, and openSUSE.

### How it is used

The package provides library functionality and command-line utilities such as chm_http, enum_chmLib, enumdir_chmLib, extract_chmLib, and test_chmLib for inspecting, serving, and extracting CHM archives.

### Why package nerds care

chmlib matters to package maintainers because it is old, small infrastructure for a proprietary documentation container format. Its utilities and library bindings let Unix systems index, extract, and view legacy Windows help files without the Microsoft runtime.

### Timeline

- 2002: README credits Solaris and IRIX portability work.
- 2006: Official GitHub source tree imported at 0.37.
- 2006: NEWS records security fixes around 0.36 and 0.37 and later 0.40 maintenance fixes.
- 2026: Homebrew packages chmlib 0.40 from the jedrea.com source tarball.

### Related projects

- The README names Microsoft Html Help, ITSS, IStorage-style archive access, Stuart Caie's LZX decompression code, and chm_http as an included helper utility.

### Sources

- <https://raw.githubusercontent.com/jedwing/CHMLib/master/README>
- <https://raw.githubusercontent.com/jedwing/CHMLib/master/NEWS>
- <https://formulae.brew.sh/api/formula/chmlib.json>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** chmlib
- **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 - libchm-bin - 2:0.40a-8.1: normalized package name match | Debian stable package indexes: libchm-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for dealing with Microsoft CHM files (test programs) | https://github.com/jedwing/CHMLib
- Debian apt - libchm-dev - 2:0.40a-8.1: normalized package name match | Debian stable package indexes: libchm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for dealing with Microsoft CHM files (development) | https://github.com/jedwing/CHMLib
- Debian apt - libchm1 - 2:0.40a-8.1: normalized package name match | Debian stable package indexes: libchm1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for dealing with Microsoft CHM files | https://github.com/jedwing/CHMLib
- Nix - chmlib: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chmlib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libchm-bin - 2:0.40a-8: normalized package name match | Ubuntu 24.04 LTS package indexes: libchm-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for dealing with Microsoft CHM files (test programs) | https://github.com/jedwing/CHMLib
- Ubuntu apt - libchm-dev - 2:0.40a-8: normalized package name match | Ubuntu 24.04 LTS package indexes: libchm-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for dealing with Microsoft CHM files (development) | https://github.com/jedwing/CHMLib
- Ubuntu apt - libchm1 - 2:0.40a-8: normalized package name match | Ubuntu 24.04 LTS package indexes: libchm1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for dealing with Microsoft CHM files | https://github.com/jedwing/CHMLib
- dnf - chmlib - 0.40-48.fc44: normalized package name match | Fedora Rawhide package metadata: chmlib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Library for dealing with ITSS/CHM format files | http://www.jedrea.com/chmlib/
- dnf - chmlib-devel - 0.40-48.fc44: normalized package name match | Fedora Rawhide package metadata: chmlib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Library for dealing with ITSS/CHM format files - development files | http://www.jedrea.com/chmlib/
- pacman - chmlib - 0.40-10: normalized package name match | Arch Linux sync databases: chmlib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Library for dealing with Microsoft ITSS/CHM format files | https://www.jedrea.com/chmlib/
- zypper - chmlib-devel - 0.40-26.3: normalized package name match | openSUSE Tumbleweed package metadata: chmlib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Documentation and Headers for chmlib | http://www.jedrea.com/chmlib/
- zypper - chmlib-examples - 0.40-26.3: normalized package name match | openSUSE Tumbleweed package metadata: chmlib-examples from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Example applications for chmlib | http://www.jedrea.com/chmlib/
- zypper - libchm0 - 0.40-26.3: normalized package name match | openSUSE Tumbleweed package metadata: libchm0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A library for dealing with ITSS/CHM files | http://www.jedrea.com/chmlib/
- MacPorts - chmlib: normalized package name match | MacPorts ports tree: textproc/chmlib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [liblockfile](https://www.automicvault.com/pkg/brew/liblockfile/) - Shares av.db curated category or tags: c, cli, libraries, library, system.
- [isa-l](https://www.automicvault.com/pkg/brew/isa-l/) - Shares av.db curated category or tags: cli, libraries, library, system.
- [glibc](https://www.automicvault.com/pkg/brew/glibc/) - Shares av.db curated category or tags: cli, libraries, system.
- [libcpucycles](https://www.automicvault.com/pkg/brew/libcpucycles/) - Shares av.db curated category or tags: c, cli, library, system.
- [libcpuid](https://www.automicvault.com/pkg/brew/libcpuid/) - Shares av.db curated category or tags: c, cli, library, system.
- [libzip](https://www.automicvault.com/pkg/brew/libzip/) - Shares av.db curated category or tags: c, cli, library, system.
- [augeas](https://www.automicvault.com/pkg/brew/augeas/) - Shares av.db curated category or tags: cli, library, system.
- [cahute](https://www.automicvault.com/pkg/brew/cahute/) - Shares av.db curated category or tags: cli, library, system.
- [cabextract](https://www.automicvault.com/pkg/brew/cabextract/) - Local package facts share a topical domain. Shared terms: cli, extract, files, microsoft, system.

## Combined YAML source

View the package source record on GitHub. [combined/chmlib.yml](https://github.com/automic-vault/db/blob/main/combined/chmlib.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
