macOS
brew install libcdrlocal Homebrew formula metadata
安装
brew install libcdrlocal Homebrew formula metadata
sudo apk add libcdrAlpine Linux edge package indexes · libcdr · 来源: dl-cdn.alpinelinux.org
sudo dnf install libcdrFedora Rawhide package metadata · libcdr · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libcdrnixpkgs package indexes · pkgs/by-name/li/libcdr/package.nix · 来源: api.github.com
sudo pacman -S libcdrArch Linux sync databases · libcdr · 来源: geo.mirror.pkgbuild.com
sudo apt install libcdr-0.1-1Debian stable package indexes · libcdr-0.1-1 · 来源: deb.debian.org
sudo zypper install libcdr-0_1-1openSUSE Tumbleweed package metadata · libcdr-0_1-1 · 来源: download.opensuse.org
概览
C++ library to parse the file format of CorelDRAW documents
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cdr2raw | cli | 全局可执行文件 | |
cdr2text | cli | 全局可执行文件 | |
cdr2xhtml | cli | 全局可执行文件 | |
cmx2raw | cli | 全局可执行文件 | |
cmx2text | cli | 全局可执行文件 | |
cmx2xhtml | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.documentfoundation.org/DLP/Libraries/libcdr
安装元数据
| 软件包键 | brew:libcdr |
|---|---|
| 版本 | 0.1.9 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libcdr |
| 主页 | https://wiki.documentfoundation.org/DLP/Libraries/libcdr |
| 仓库 | https://gerrit.libreoffice.org/gitweb?p=libcdr.git%3Ba%3Dsummary |
| 上游文档 | https://wiki.documentfoundation.org/DLP/Libraries/libcdr |
| 许可证 | MPL-2.0 |
| 源码归档 | https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.9.tar.xz |
| 最后更新 | 2026-05-26T16:03:50Z |
| Pulse | updated |
| 依赖 | icu4c@78, librevenge, little-cms2 |
| 构建依赖 | boost, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.