macOS
brew install libredwgprovider-native install command
安装
brew install libredwgprovider-native install command
概览
DWG utilities
历史
GNU LibreDWG is a GPLv3-or-later C library and command-line tool set for reading and writing AutoCAD DWG files. Its package-manager value is straightforward: it gives free software systems a scriptable DWG decoder/encoder and conversion utilities without relying on proprietary OpenDWG/ODA libraries.
The GNU project page describes LibreDWG as a free replacement for OpenDWG libraries and says it is based on LibDWG, originally written by Felipe Castro. The manual records the project lineage more specifically: LibreDWG came out of code from the QCad Community Edition product from RibbonSoft, and the old libdwg code was forked to LibreDWG in 2009.
LibreDWG's long-running engineering problem is that DWG is proprietary. The manual states that the format had to be reverse-engineered and that, for LibreDWG 0.13.4 dated March 17, 2026, coverage was approximately 99%, with reading support across many DWG revisions and writing support still more constrained for newer formats.
LibreDWG has mattered most to CAD, GIS, and document-conversion users who need batchable access to DWG data in free software environments. The manual names FreeCAD and GRASS GIS as projects using DWG or specifically LibreDWG, and mentions plans around SolveSpace, LibreCAD, FreeCAD, OpenSCAD, and PythonCAD.
Its adoption has been cautious because DWG compatibility is a moving target and because writing newer DWG versions is harder than reading them. That niche, however, is exactly why distributions package it: even partial DWG support is valuable when users need automated inspection, conversion, text search, layer listing, SVG/PostScript output, DXF, JSON, or GeoJSON workflows.
Packaged users usually encounter LibreDWG through tools such as dwgread, dwgwrite, dwgrewrite, dwg2dxf, dxf2dwg, dwg2SVG, dwggrep, and dwglayers, or by linking C programs against libredwg. The manual explicitly notes that programs should link with -lredwg, because the shared object is named libredwg and -llibredwg would look for a non-existent liblibredwg.
LibreDWG is a classic package-nerd package: legally and technically difficult format support, a GNU maintenance story, CLI utilities, reverse-engineered coverage tables, and bindings/converters that unblock other packages. It is also a reminder that data-liberation libraries often ship as humble formulae even when their underlying work is years of file-format archaeology.
安全态势
没有找到 libredwg 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dwg2SVG | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwg2dxf | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwgadd | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwgbmp | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwgfilter | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwggrep | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwglayers | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwgread | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwgrewrite | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dwgwrite | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dxf2dwg | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
dxfwrite | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:libredwg |
|---|---|
| 版本 | 0.13.3 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.gnu.org/software/libredwg/ |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.