macOS
brew install libcdrlocal Homebrew formula metadata
brew
C++ library to parse the file format of CorelDRAW documents. Version 0.1.9 via Homebrew; verified 2026-05-26.
install
brew install libcdrlocal Homebrew formula metadata
sudo apk add libcdrAlpine Linux edge package indexes · libcdr · source: dl-cdn.alpinelinux.org
sudo apt install libcdr-0.1-1Debian stable package indexes · libcdr-0.1-1 · source: deb.debian.org
sudo dnf install libcdrFedora Rawhide package metadata · libcdr · source: dl.fedoraproject.org
nix profile install nixpkgs#libcdrnixpkgs package indexes · pkgs/by-name/li/libcdr/package.nix · source: api.github.com
sudo pacman -S libcdrArch Linux sync databases · libcdr · source: geo.mirror.pkgbuild.com
sudo zypper install libcdr-0_1-1openSUSE Tumbleweed package metadata · libcdr-0_1-1 · source: download.opensuse.org
overview
C++ library to parse the file format of CorelDRAW documents
history
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.
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.
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.
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.
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cdr2raw | cli | global executable | |
cdr2text | cli | global executable | |
cdr2xhtml | cli | global executable | |
cmx2raw | cli | global executable | |
cmx2text | cli | global executable | |
cmx2xhtml | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://wiki.documentfoundation.org/DLP/Libraries/libcdr
install metadata
| Package key | brew:libcdr |
|---|---|
| Version | 0.1.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libcdr |
| 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 |
| Pulse | updated |
| Dependencies | icu4c@78, librevenge, little-cms2 |
| Build dependencies | boost, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libcdr-0.1-1 0.1.7-1+b3
library for reading and converting Corel DRAW files
http://freedesktop.org/wiki/Software/libcdr
sudo apt install libcdr-0.1-1libcdr-dev 0.1.7-1+b3
library for reading and converting Corel DRAW files -- development
http://freedesktop.org/wiki/Software/libcdr
sudo apt install libcdr-devlibcdr-doc 0.1.7-1
library for reading and converting Corel DRAW files -- documentation
http://freedesktop.org/wiki/Software/libcdr
sudo apt install libcdr-doclibcdr-tools 0.1.7-1+b3
library for reading and converting Corel DRAW files -- tools
http://freedesktop.org/wiki/Software/libcdr
sudo apt install libcdr-toolslibcdr
nix profile install nixpkgs#libcdrlibcdr-0.1-1 0.1.7-1build2
library for reading and converting Corel DRAW files
http://freedesktop.org/wiki/Software/libcdr
sudo apt install libcdr-0.1-1libcdr-dev 0.1.7-1build2
library for reading and converting Corel DRAW files -- development
http://freedesktop.org/wiki/Software/libcdr
sudo apt install libcdr-devlibcdr-doc 0.1.7-1build2
library for reading and converting Corel DRAW files -- documentation
http://freedesktop.org/wiki/Software/libcdr
sudo apt install libcdr-doclibcdr-tools 0.1.7-1build2
library for reading and converting Corel DRAW files -- tools
http://freedesktop.org/wiki/Software/libcdr
sudo apt install libcdr-toolslibcdr 0.1.8-r3
Import filter and tools for Corel DRAW files
https://wiki.documentfoundation.org/DLP/Libraries/libcdr
sudo apk add libcdrlibcdr-dev 0.1.8-r3
Import filter and tools for Corel DRAW files (development files)
https://wiki.documentfoundation.org/DLP/Libraries/libcdr
sudo apk add libcdr-devlibcdr-doc 0.1.8-r3
Import filter and tools for Corel DRAW files (documentation)
https://wiki.documentfoundation.org/DLP/Libraries/libcdr
sudo apk add libcdr-doclibcdr-tools 0.1.8-r3
Import filter and tools for Corel DRAW files
https://wiki.documentfoundation.org/DLP/Libraries/libcdr
sudo apk add libcdr-toolslibcdr 0.1.8-6.fc45
A library for import of CorelDRAW drawings
http://wiki.documentfoundation.org/DLP/Libraries/libcdr
sudo dnf install libcdrlibcdr-devel 0.1.8-6.fc45
Development files for libcdr
http://wiki.documentfoundation.org/DLP/Libraries/libcdr
sudo dnf install libcdr-devellibcdr-doc 0.1.8-6.fc45
Documentation of libcdr API
http://wiki.documentfoundation.org/DLP/Libraries/libcdr
sudo dnf install libcdr-docsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.