Automic VaultAutomic Vault

brew

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

Additional install commands

macOS

Homebrewverified · 100%
brew install libcdr

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add libcdr

Alpine Linux edge package indexes · libcdr · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libcdr-0.1-1

Debian stable package indexes · libcdr-0.1-1 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libcdr

Fedora Rawhide package metadata · libcdr · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libcdr

nixpkgs package indexes · pkgs/by-name/li/libcdr/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libcdr

Arch Linux sync databases · libcdr · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libcdr-0_1-1

openSUSE Tumbleweed package metadata · libcdr-0_1-1 · source: download.opensuse.org

overview

Package summary

C++ library to parse the file format of CorelDRAW documents

Commands and aliases

  • cdr2raw
  • cdr2text
  • cdr2xhtml
  • cmx2raw
  • cmx2text
  • cmx2xhtml

history

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.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cdr2rawcliglobal executable
cdr2textcliglobal executable
cdr2xhtmlcliglobal executable
cmx2rawcliglobal executable
cmx2textcliglobal executable
cmx2xhtmlcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.1.9
manager updated2026-05-26
local dataok
upstreamnot checked
latest detectednot detected

https://wiki.documentfoundation.org/DLP/Libraries/libcdr

install metadata

Package metadata

Package keybrew:libcdr
Version0.1.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libcdr
Homepagehttps://wiki.documentfoundation.org/DLP/Libraries/libcdr
Repositoryhttps://gerrit.libreoffice.org/gitweb?p=libcdr.git%3Ba%3Dsummary
Upstream docshttps://wiki.documentfoundation.org/DLP/Libraries/libcdr
LicenseMPL-2.0
Source archivehttps://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.9.tar.xz
Last updated2026-05-26T16:03:50Z
Pulseupdated
Dependenciesicu4c@78, librevenge, little-cms2
Build dependenciesboost, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibcdr
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

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-1
  • Section: libs
  • Architecture: amd64
  • Source Package: libcdr
  • 7 dependencies
  • normalized package name match
  • Matched by: Libcdr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcdr-0.1-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcdr-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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libcdr
  • 5 dependencies
  • normalized package name match
  • Matched by: Libcdr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcdr-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcdr-doc 0.1.7-1

library for reading and converting Corel DRAW files -- documentation

http://freedesktop.org/wiki/Software/libcdr

sudo apt install libcdr-doc
  • Section: doc
  • Architecture: all
  • Source Package: libcdr
  • normalized package name match
  • Matched by: Libcdr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcdr-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcdr-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-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: libcdr
  • 5 dependencies
  • normalized package name match
  • Matched by: Libcdr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcdr-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libcdr

nix profile install nixpkgs#libcdr
  • normalized package name match
  • Matched by: Libcdr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libcdr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libcdr-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-1
  • Section: libs
  • Architecture: amd64
  • Source Package: libcdr
  • 7 dependencies
  • normalized package name match
  • Matched by: Libcdr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcdr-0.1-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcdr-dev 0.1.7-1build2

library for reading and converting Corel DRAW files -- development

http://freedesktop.org/wiki/Software/libcdr

sudo apt install libcdr-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libcdr
  • 5 dependencies
  • normalized package name match
  • Matched by: Libcdr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcdr-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcdr-doc 0.1.7-1build2

library for reading and converting Corel DRAW files -- documentation

http://freedesktop.org/wiki/Software/libcdr

sudo apt install libcdr-doc
  • Section: doc
  • Architecture: all
  • Source Package: libcdr
  • normalized package name match
  • Matched by: Libcdr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcdr-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcdr-tools 0.1.7-1build2

library for reading and converting Corel DRAW files -- tools

http://freedesktop.org/wiki/Software/libcdr

sudo apt install libcdr-tools
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libcdr
  • 5 dependencies
  • normalized package name match
  • Matched by: Libcdr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcdr-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libcdr 0.1.8-r3

Import filter and tools for Corel DRAW files

https://wiki.documentfoundation.org/DLP/Libraries/libcdr

sudo apk add libcdr
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: libcdr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcdr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcdr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcdr-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-dev
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: libcdr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcdr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcdr-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcdr-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-doc
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: libcdr
  • normalized package name match
  • Matched by: Libcdr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcdr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcdr-tools 0.1.8-r3

Import filter and tools for Corel DRAW files

https://wiki.documentfoundation.org/DLP/Libraries/libcdr

sudo apk add libcdr-tools
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: libcdr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcdr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcdr-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libcdr 0.1.8-6.fc45

A library for import of CorelDRAW drawings

http://wiki.documentfoundation.org/DLP/Libraries/libcdr

sudo dnf install libcdr
  • License: MPL-2.0 AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcdr
  • 10 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libcdr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcdr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcdr-devel 0.1.8-6.fc45

Development files for libcdr

http://wiki.documentfoundation.org/DLP/Libraries/libcdr

sudo dnf install libcdr-devel
  • License: MPL-2.0 AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcdr
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libcdr
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

libcdr-doc 0.1.8-6.fc45

Documentation of libcdr API

http://wiki.documentfoundation.org/DLP/Libraries/libcdr

sudo dnf install libcdr-doc
  • License: MPL-2.0 AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: libcdr
  • 1 provides
  • normalized package name match
  • Matched by: Libcdr
Fedora Rawhide package metadata · dl.fedoraproject.org · 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment