# Install libemf2svg with Homebrew, apk, apt, Nix, zypper

Microsoft (MS) EMF to SVG conversion library. Version 1.8.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libemf2svg
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libemf2svg
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libemf2svg
```

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

- Debian apt (92%):

```sh
sudo apt install emf2svg
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libemf2svg
```

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

- zypper (92%):

```sh
sudo zypper install emf2svg-conv
```

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

## Package facts

- **Package key:** brew:libemf2svg
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libemf2svg>
- **Version:** 1.8.1
- **Source summary:** Microsoft (MS) EMF to SVG conversion library
- **Homepage:** <https://github.com/kakwa/libemf2svg>
- **Repository:** <https://github.com/kakwa/libemf2svg>
- **Upstream docs:** <https://github.com/kakwa/libemf2svg#readme>
- **License:** GPL-2.0-only
- **Source archive:** <https://github.com/kakwa/libemf2svg/archive/refs/tags/1.8.1.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- emf2svg-conv (cli)
- emf2svg-conv (alias)

## Dependencies

- fontconfig
- freetype
- libpng

## Build dependencies

- argp-standalone
- cmake

## Uses from macOS

- libxml2

## 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: 1.8.1
- Local data: ok
- Upstream repository: https://github.com/kakwa/libemf2svg
- Upstream latest detected: 1.8.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

libemf2svg is a small C/C++ conversion library and command-line tool for turning Microsoft Enhanced Metafile and EMF+ graphics into SVG.

### Project history

The project README explains that libemf2svg began with a narrow document-interoperability problem: converting Visio stencil graphics from VSS files into reusable SVG. The same README points to libvisio2svg as a related motivation and notes that embedded EMF blobs can appear inside other Microsoft file formats.

### Adoption history

Adoption has been package-manager driven rather than institutionally branded. The input metadata records packaging across Homebrew, Debian and Ubuntu as emf2svg, Nix, Alpine, and openSUSE, which is typical for format-conversion utilities that are useful in automated document-processing pipelines.

### How it is used

The upstream README documents the emf2svg-conv command, with explicit input and output file options and optional dimensions, plus a library API for callers that want to convert EMF data already loaded in memory.

### Why package nerds care

For package maintainers, libemf2svg sits in the useful but awkward corner of office-graphics interoperability: it depends on native graphics/font libraries, handles a Windows-origin vector format, and provides a Unix-style CLI for reproducible conversion workflows.

### Timeline

- 2016: The 0.4.0 tag was dated March 6, 2016 on GitHub.
- 2017: The 1.0.0 tag was dated January 16, 2017 on GitHub.
- 2018: The 1.1.0 tag was dated January 2, 2018 on GitHub.
- 2025: The 1.8.1 tag was dated December 22, 2025 on GitHub.

### Related projects

- The README names libvisio2svg as the original adjacent project, and its dependency list includes libpng, fontconfig, FreeType, fmem, and argp-standalone.

### Sources

- <https://formulae.brew.sh/formula/libemf2svg>
- <https://github.com/kakwa/libemf2svg>
- <https://github.com/kakwa/libemf2svg/tags>


## 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:** libemf2svg
- **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 - emf2svg - 1.1.0+ds-3+b2: normalized package name match | Debian stable package indexes: emf2svg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Convert Enhanced Metafile to SVG | https://github.com/kakwa/libemf2svg
- Debian apt - libemf2svg-dev - 1.1.0+ds-3+b2: normalized package name match | Debian stable package indexes: libemf2svg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced Metafile to SVG conversion library (development files) | https://github.com/kakwa/libemf2svg
- Debian apt - libemf2svg1 - 1.1.0+ds-3+b2: normalized package name match | Debian stable package indexes: libemf2svg1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced Metafile to SVG conversion library (shared library) | https://github.com/kakwa/libemf2svg
- Nix - libemf2svg: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libemf2svg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - emf2svg - 1.1.0+ds-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: emf2svg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Convert Enhanced Metafile to SVG | https://github.com/kakwa/libemf2svg
- Ubuntu apt - libemf2svg-dev - 1.1.0+ds-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libemf2svg-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Enhanced Metafile to SVG conversion library (development files) | https://github.com/kakwa/libemf2svg
- Ubuntu apt - libemf2svg1 - 1.1.0+ds-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libemf2svg1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Enhanced Metafile to SVG conversion library (shared library) | https://github.com/kakwa/libemf2svg
- apk - libemf2svg - 1.1.0-r3: normalized package name match | Alpine Linux edge package indexes: libemf2svg from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | MS EMF (Enhanced Metafile) to SVG conversion library | https://github.com/kakwa/libemf2svg
- apk - libemf2svg-utils - 1.1.0-r3: normalized package name match | Alpine Linux edge package indexes: libemf2svg-utils from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | MS EMF (Enhanced Metafile) to SVG conversion library | https://github.com/kakwa/libemf2svg
- zypper - emf2svg-conv - 1.1.0-2.24: normalized package name match | openSUSE Tumbleweed package metadata: emf2svg-conv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | EMF to SVG converter | https://github.com/kakwa/libemf2svg
- zypper - libemf2svg-devel - 1.1.0-2.24: normalized package name match | openSUSE Tumbleweed package metadata: libemf2svg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for applications which will use libemf2svg | https://github.com/kakwa/libemf2svg
- zypper - libemf2svg1 - 1.1.0-2.24: normalized package name match | openSUSE Tumbleweed package metadata: libemf2svg1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | EMF (Enhanced Metafile) to SVG conversion library | https://github.com/kakwa/libemf2svg


## 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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [fontconfig](https://www.automicvault.com/pkg/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [fig2dev](https://www.automicvault.com/pkg/brew/fig2dev/) - Shares av.db curated category or tags: cli, conversion, graphics, media.
- [libwmf](https://www.automicvault.com/pkg/brew/libwmf/) - Shares av.db curated category or tags: cli, conversion, graphics, media.
- [svg2pdf](https://www.automicvault.com/pkg/brew/svg2pdf/) - Shares av.db curated category or tags: cli, conversion, graphics, media, svg.
- [swiftdraw](https://www.automicvault.com/pkg/brew/swiftdraw/) - Shares av.db curated category or tags: cli, conversion, graphics, media, svg.
- [batik](https://www.automicvault.com/pkg/brew/batik/) - Shares av.db curated category or tags: cli, graphics, media, svg.
- [dicebear](https://www.automicvault.com/pkg/brew/dicebear/) - Shares av.db curated category or tags: cli, graphics, media, svg.
- [pdf2svg](https://www.automicvault.com/pkg/brew/pdf2svg/) - Shares av.db curated category or tags: cli, conversion, media, svg.
- [resvg](https://www.automicvault.com/pkg/brew/resvg/) - Shares av.db curated category or tags: cli, graphics, media, svg.
- [libsixel](https://www.automicvault.com/pkg/brew/libsixel/) - Local package facts share a topical domain. Shared terms: cli, graphics, libpng, media.

## Combined YAML source

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