# Install libwmf with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Library for converting WMF (Window Metafile Format) files. Version 0.2.15 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libwmf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libwmf
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libwmf
```

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

### Linux

- apk (92%):

```sh
sudo apk add libwmf
```

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

- Debian apt (92%):

```sh
sudo apt install libwmf-0.2-7
```

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

- dnf (92%):

```sh
sudo dnf install libwmf
```

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

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

- pacman (92%):

```sh
sudo pacman -S libwmf
```

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

- zypper (92%):

```sh
sudo zypper install libwmf-0_2-7
```

  Evidence: openSUSE Tumbleweed package metadata: libwmf-0_2-7 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libwmf
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libwmf>
- **Version:** 0.2.15
- **Source summary:** Library for converting WMF (Window Metafile Format) files
- **Homepage:** <https://github.com/caolanm/libwmf>
- **Repository:** <https://github.com/caolanm/libwmf>
- **Upstream docs:** <https://github.com/caolanm/libwmf>
- **License:** LGPL-2.0-or-later AND GPL-2.0-or-later AND GD
- **Source archive:** <https://github.com/caolanm/libwmf/releases/download/v0.2.15/libwmf-0.2.15.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- libwmf-config (cli)
- libwmf-fontmap (cli)
- wmf2eps (cli)
- wmf2fig (cli)
- wmf2gd (cli)
- wmf2svg (cli)
- libwmf-config (alias)
- libwmf-fontmap (alias)
- wmf2eps (alias)
- wmf2fig (alias)
- wmf2gd (alias)
- wmf2svg (alias)

## Dependencies

- freetype
- jpeg-turbo
- libpng

## Build dependencies

- pkgconf

## Uses from macOS

- expat

## 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: 0.2.15
- Local data: ok
- Upstream repository: https://github.com/caolanm/libwmf
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

libwmf is a library and tool suite for reading Microsoft Windows Metafile graphics and converting them to formats such as SVG, EPS, FIG, GD, and other image outputs. It is a compatibility package for old office, clip-art, and document workflows where WMF files still appear.

### Project history

WMF predates libwmf: RFC 7903 says Microsoft released Windows Metafile with Windows 3.0, and Microsoft's protocol documentation describes WMF as an image container made of variable-length metafile records. libwmf exists to interpret that Windows-oriented graphics record stream on non-Windows and package-managed systems.

The libwmf README preserves early project history: Francis James Franklin described a May 2001 restructuring based on Caolan McNamara's libwmf, moving it away from batch-process origins and toward a better-behaved library with device-layer output interfaces. The NEWS file records a libwmf 0.2.1 release on 2001-08-22.

### Adoption history

libwmf became useful in Unix graphics and document-conversion stacks because WMF was common in Microsoft Office-era documents and clip art. Package-manager adoption follows the need to convert or render legacy WMF assets in automated pipelines, desktop software, and document import filters.

### How it is used

The Homebrew package includes commands such as wmf2eps, wmf2fig, wmf2gd, wmf2svg, libwmf-config, and libwmf-fontmap. Users run it directly for conversion, while applications link the library when they need WMF import or rendering support.

### Why package nerds care

libwmf is the sort of package that keeps old document formats from becoming data loss. Its nerd appeal is in the bridge: a small Unix library and converter collection sitting between Microsoft GDI-era metafile records and modern open graphics formats such as SVG.

### Timeline

- 1990: Windows 3.0 era introduces WMF as a Windows graphics interchange format, according to RFC 7903.
- 2001-05-13: The libwmf README describes a major restructuring candidate for libwmf 0.2.0.
- 2001-08-22: libwmf 0.2.1 release is recorded in NEWS.
- 2016-09: RFC 7903 registers Windows image media types including image/wmf and image/x-wmf.
- 2024-04-23: Microsoft publishes protocol revision 18.0 of the Windows Metafile Format specification.
- 2026: The GitHub releases page lists libwmf 0.2.15 with parser validation, resource-limit, test-suite, and MSVC build fixes.

### Related projects

- Related formats and tools include Windows GDI, EMF, EMF+, Microsoft Office and clip-art workflows, SVG, EPS, Xfig, GD, ImageMagick-style conversion pipelines, and document import filters that need legacy vector graphics support.

### Sources

- <https://github.com/caolanm/libwmf>
- <https://github.com/caolanm/libwmf/blob/master/NEWS>
- <https://github.com/caolanm/libwmf/releases>
- <https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/4813e7fd-52d0-4f42-965f-228c8b7488d2>
- <https://www.rfc-editor.org/info/rfc7903/>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libwmf
- **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 - libwmf-0.2-7 - 0.2.13-1.1+b3: normalized package name match | Debian stable package indexes: libwmf-0.2-7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows metafile conversion library | http://wvware.sourceforge.net/libwmf.html
- Debian apt - libwmf-0.2-7-gtk - 0.2.13-1.1+b3: normalized package name match | Debian stable package indexes: libwmf-0.2-7-gtk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows metafile conversion GTK pixbuf plugin | http://wvware.sourceforge.net/libwmf.html
- Debian apt - libwmf-bin - 0.2.13-1.1+b3: normalized package name match | Debian stable package indexes: libwmf-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows metafile conversion tools | http://wvware.sourceforge.net/libwmf.html
- Debian apt - libwmf-dev - 0.2.13-1.1+b3: normalized package name match | Debian stable package indexes: libwmf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows metafile conversion development | http://wvware.sourceforge.net/libwmf.html
- Debian apt - libwmf-doc - 0.2.13-1.1: normalized package name match | Debian stable package indexes: libwmf-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows metafile documentation | http://wvware.sourceforge.net/libwmf.html
- Debian apt - libwmf0.2-7 - 0.2.13-1.1+b3: normalized package name match | Debian stable package indexes: libwmf0.2-7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows metafile conversion library - transitional package | http://wvware.sourceforge.net/libwmf.html
- Debian apt - libwmf0.2-7-gtk - 0.2.13-1.1+b3: normalized package name match | Debian stable package indexes: libwmf0.2-7-gtk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows metafile conversion GTK pixbuf plugin - transitional package | http://wvware.sourceforge.net/libwmf.html
- Debian apt - libwmflite-0.2-7 - 0.2.13-1.1+b3: normalized package name match | Debian stable package indexes: libwmflite-0.2-7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Windows metafile conversion lite library | http://wvware.sourceforge.net/libwmf.html
- Nix - libwmf: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libwmf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libwmf-0.2-7 - 0.2.13-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libwmf-0.2-7 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Windows metafile conversion library | http://wvware.sourceforge.net/libwmf.html
- Ubuntu apt - libwmf-0.2-7-gtk - 0.2.13-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libwmf-0.2-7-gtk from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Windows metafile conversion GTK pixbuf plugin | http://wvware.sourceforge.net/libwmf.html
- Ubuntu apt - libwmf-bin - 0.2.13-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libwmf-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Windows metafile conversion tools | http://wvware.sourceforge.net/libwmf.html
- Ubuntu apt - libwmf-dev - 0.2.13-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libwmf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Windows metafile conversion development | http://wvware.sourceforge.net/libwmf.html
- Ubuntu apt - libwmf-doc - 0.2.13-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libwmf-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Windows metafile documentation | http://wvware.sourceforge.net/libwmf.html
- Ubuntu apt - libwmf0.2-7 - 0.2.13-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libwmf0.2-7 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Windows metafile conversion library - transitional package | http://wvware.sourceforge.net/libwmf.html
- Ubuntu apt - libwmf0.2-7-gtk - 0.2.13-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libwmf0.2-7-gtk from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Windows metafile conversion GTK pixbuf plugin - transitional package | http://wvware.sourceforge.net/libwmf.html


## 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.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [wv](https://www.automicvault.com/pkg/brew/wv/) - Popular package that depends on this formula.
- [fig2dev](https://www.automicvault.com/pkg/brew/fig2dev/) - Shares av.db curated category or tags: cli, conversion, graphics, media.
- [libemf2svg](https://www.automicvault.com/pkg/brew/libemf2svg/) - Shares av.db curated category or tags: cli, conversion, graphics, media.
- [aalib](https://www.automicvault.com/pkg/brew/aalib/) - Shares av.db curated category or tags: cli, graphics, library, media.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Shares av.db curated category or tags: cli, graphics, library, media.
- [glbinding](https://www.automicvault.com/pkg/brew/glbinding/) - Shares av.db curated category or tags: cli, graphics, library, media.
- [libsail](https://www.automicvault.com/pkg/brew/libsail/) - Shares av.db curated category or tags: cli, graphics, library, media.
- [svg2pdf](https://www.automicvault.com/pkg/brew/svg2pdf/) - Shares av.db curated category or tags: cli, conversion, graphics, media.
- [swiftdraw](https://www.automicvault.com/pkg/brew/swiftdraw/) - Shares av.db curated category or tags: cli, conversion, graphics, media.
- [libsixel](https://www.automicvault.com/pkg/brew/libsixel/) - Local package facts share a topical domain. Shared terms: cli, config, graphics, jpeg, jpeg-turbo.
- [open-scene-graph](https://www.automicvault.com/pkg/brew/open-scene-graph/) - Local package facts share a topical domain. Shared terms: cli, freetype, graphics, jpeg, jpeg-turbo.

## Combined YAML source

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