# Install libcdr with Homebrew, apk, apt, dnf, Nix, pacman, zypper

C++ library to parse the file format of CorelDRAW documents. Version 0.1.9 via Homebrew; verified 2026-05-26.

## Install

```sh
sudo av install brew:libcdr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libcdr
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libcdr
```

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

- Debian apt (92%):

```sh
sudo apt install libcdr-0.1-1
```

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

- dnf (92%):

```sh
sudo dnf install libcdr
```

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

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

- pacman (92%):

```sh
sudo pacman -S libcdr
```

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

- zypper (92%):

```sh
sudo zypper install libcdr-0_1-1
```

  Evidence: openSUSE Tumbleweed package metadata: libcdr-0_1-1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libcdr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libcdr>
- **Version:** 0.1.9
- **Source summary:** C++ library to parse the file format of CorelDRAW documents
- **Homepage:** <https://wiki.documentfoundation.org/DLP/Libraries/libcdr>
- **Repository:** <https://gerrit.libreoffice.org/gitweb?p=libcdr.git%3Ba%3Dsummary>
- **Upstream docs:** <https://wiki.documentfoundation.org/DLP/Libraries/libcdr>
- **License:** MPL-2.0
- **Source archive:** <https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.9.tar.xz>
- **Last updated:** 2026-05-26T16:03:50Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- cdr2raw (cli)
- cdr2text (cli)
- cdr2xhtml (cli)
- cmx2raw (cli)
- cmx2text (cli)
- cmx2xhtml (cli)
- cdr2raw (alias)
- cdr2text (alias)
- cdr2xhtml (alias)
- cmx2raw (alias)
- cmx2text (alias)
- cmx2xhtml (alias)

## Dependencies

- icu4c@78
- librevenge
- little-cms2

## Build dependencies

- boost
- pkgconf

## 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.1.9
- Package-manager updated: 2026-05-26
- Local data: ok
- Upstream repository: https://wiki.documentfoundation.org/DLP/Libraries/libcdr
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

libcdr is a Document Liberation Project library and tool set for reading and converting binary CorelDRAW documents. It belongs to the LibreOffice-adjacent family of import libraries that turn proprietary office and graphics formats into reusable parsers.

### Project history

The libcdr README describes the project as a library and set of tools for reading and converting binary files produced by CorelDRAW, with the primary source in LibreOffice Gerrit and a mirror on freedesktop/GitHub. Its build dependencies, including librevenge, place it in the Document Liberation Project import-library pattern.

The Document Liberation Project explains the broader origin: after LibreOffice forked in 2010, contributors and file-format specialists worked on proprietary format interoperability, beginning with libvisio in Google Summer of Code 2011 and expanding to formats including CorelDraw, MS Publisher, Apple Keynote, and old Macintosh formats. In April 2014 the family became the Document Liberation Project under The Document Foundation.

### Adoption history

libcdr's main adoption path is through office and graphics applications that need CorelDRAW import without embedding a private reverse-engineered parser. The Document Liberation Project lists users of its import libraries including LibreOffice, Inkscape, Scribus, Calligra, AbiWord, and CorelDRAW File Viewer.

A 2017 Document Foundation community post announced libcdr 0.1.4 alongside other DLP releases and noted OSS-Fuzz-related security hardening and build fixes. That is the kind of maintenance work that made these small parser libraries valuable to distributions: they are format-compatibility code, but also attack surface for untrusted documents.

### How it is used

The package exposes conversion utilities such as cdr2raw, cdr2text, cdr2xhtml, cmx2raw, cmx2text, and cmx2xhtml. In normal desktop use, the library is more often pulled in by applications that need to import CorelDRAW or CMX documents.

### Why package nerds care

libcdr is significant because it shows the Unix packaging model applied to document import filters: one reverse-engineered parser, maintained outside a single office suite, shared by multiple applications and distributions. It also represents the quiet infrastructure behind 'LibreOffice can open this old proprietary file' release notes.

### Timeline

- 2010: LibreOffice project began, creating the community context described by the Document Liberation Project.
- 2011: libvisio emerged as an early LibreOffice file-format interoperability library through Google Summer of Code.
- 2014-04: The Document Liberation Project was founded under The Document Foundation.
- 2017-09-20: TDF blog announced libcdr 0.1.4 with OSS-Fuzz hardening and build fixes.

### Related projects

- Related projects include LibreOffice, librevenge, libvisio, libfreehand, libzmf, libwpd, libwpg, Inkscape, Scribus, Calligra, AbiWord, and other Document Liberation Project import libraries.

### Sources

- <https://blog.documentfoundation.org/blog/2017/09/20/document-liberation-project-new-releases/>
- <https://formulae.brew.sh/formula/libcdr>
- <https://gerrit.libreoffice.org/gitweb?p=libcdr.git%3Ba%3Dsummary>
- <https://github.com/LibreOffice/libcdr/blob/master/README>
- <https://www.documentliberation.org/about/>


## 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:** libcdr
- **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 - libcdr-0.1-1 - 0.1.7-1+b3: normalized package name match | Debian stable package indexes: libcdr-0.1-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for reading and converting Corel DRAW files | http://freedesktop.org/wiki/Software/libcdr
- Debian apt - libcdr-dev - 0.1.7-1+b3: normalized package name match | Debian stable package indexes: libcdr-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for reading and converting Corel DRAW files -- development | http://freedesktop.org/wiki/Software/libcdr
- Debian apt - libcdr-doc - 0.1.7-1: normalized package name match | Debian stable package indexes: libcdr-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for reading and converting Corel DRAW files -- documentation | http://freedesktop.org/wiki/Software/libcdr
- Debian apt - libcdr-tools - 0.1.7-1+b3: normalized package name match | Debian stable package indexes: libcdr-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for reading and converting Corel DRAW files -- tools | http://freedesktop.org/wiki/Software/libcdr
- Nix - libcdr: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libcdr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcdr-0.1-1 - 0.1.7-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdr-0.1-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for reading and converting Corel DRAW files | http://freedesktop.org/wiki/Software/libcdr
- Ubuntu apt - libcdr-dev - 0.1.7-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdr-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for reading and converting Corel DRAW files -- development | http://freedesktop.org/wiki/Software/libcdr
- Ubuntu apt - libcdr-doc - 0.1.7-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdr-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for reading and converting Corel DRAW files -- documentation | http://freedesktop.org/wiki/Software/libcdr
- Ubuntu apt - libcdr-tools - 0.1.7-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libcdr-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for reading and converting Corel DRAW files -- tools | http://freedesktop.org/wiki/Software/libcdr
- apk - libcdr - 0.1.8-r3: normalized package name match | Alpine Linux edge package indexes: libcdr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for Corel DRAW files | https://wiki.documentfoundation.org/DLP/Libraries/libcdr
- apk - libcdr-dev - 0.1.8-r3: normalized package name match | Alpine Linux edge package indexes: libcdr-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for Corel DRAW files (development files) | https://wiki.documentfoundation.org/DLP/Libraries/libcdr
- apk - libcdr-doc - 0.1.8-r3: normalized package name match | Alpine Linux edge package indexes: libcdr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for Corel DRAW files (documentation) | https://wiki.documentfoundation.org/DLP/Libraries/libcdr
- apk - libcdr-tools - 0.1.8-r3: normalized package name match | Alpine Linux edge package indexes: libcdr-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Import filter and tools for Corel DRAW files | https://wiki.documentfoundation.org/DLP/Libraries/libcdr
- dnf - libcdr - 0.1.8-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcdr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A library for import of CorelDRAW drawings | http://wiki.documentfoundation.org/DLP/Libraries/libcdr
- dnf - libcdr-devel - 0.1.8-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcdr-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for libcdr | http://wiki.documentfoundation.org/DLP/Libraries/libcdr
- dnf - libcdr-doc - 0.1.8-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcdr-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Documentation of libcdr API | http://wiki.documentfoundation.org/DLP/Libraries/libcdr


## Related links

- [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.
- [Documentation packages](https://www.automicvault.com/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [little-cms2](https://www.automicvault.com/pkg/brew/little-cms2/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libmspub](https://www.automicvault.com/pkg/brew/libmspub/) - Shares av.db curated category or tags: cli, document-conversion, file-format, library, productivity.
- [docx2txt](https://www.automicvault.com/pkg/brew/docx2txt/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [feishu2md](https://www.automicvault.com/pkg/brew/feishu2md/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [hevea](https://www.automicvault.com/pkg/brew/hevea/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [latex2html](https://www.automicvault.com/pkg/brew/latex2html/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [latex2rtf](https://www.automicvault.com/pkg/brew/latex2rtf/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [libwps](https://www.automicvault.com/pkg/brew/libwps/) - Shares av.db curated category or tags: cli, file-format, library, productivity.
- [odt2txt](https://www.automicvault.com/pkg/brew/odt2txt/) - Shares av.db curated category or tags: cli, document-conversion, productivity.

## Combined YAML source

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