pkg.sopackage field notes

brew / 排名 2837

使用 Homebrew 安装 libredwg

查看 libredwg 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libredwg

provider-native install command

概览

软件包摘要

DWG utilities

命令和别名

  • dwg2SVG
  • dwg2dxf
  • dwgadd
  • dwgbmp
  • dwgfilter
  • dwggrep
  • dwglayers
  • dwgread
  • dwgrewrite
  • dwgwrite
  • dxf2dwg
  • dxfwrite

历史

项目历史与用法

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.

时间线

  • 2009: The old libdwg code was forked to LibreDWG.
  • 2010-2025: The GNU manual copyright range records continuing FSF documentation maintenance.
  • 2026-03-17: GNU LibreDWG manual version 0.13.4 dated.
  • 2026-03-19: GNU generated manual page last updated.

Related projects

  • Related projects include LibDWG, QCad Community Edition, FreeCAD, GRASS GIS, LibreCAD, SolveSpace, OpenSCAD, PythonCAD, libdxfrw, libopencad, ACadSharp, OpenDWG, and the Open Design Alliance ecosystem.

安全态势

尚未找到受保护工具覆盖

没有找到 libredwg 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dwg2SVG可执行文件已索引可执行文件从本地可执行文件索引发现。
dwg2dxf可执行文件已索引可执行文件从本地可执行文件索引发现。
dwgadd可执行文件已索引可执行文件从本地可执行文件索引发现。
dwgbmp可执行文件已索引可执行文件从本地可执行文件索引发现。
dwgfilter可执行文件已索引可执行文件从本地可执行文件索引发现。
dwggrep可执行文件已索引可执行文件从本地可执行文件索引发现。
dwglayers可执行文件已索引可执行文件从本地可执行文件索引发现。
dwgread可执行文件已索引可执行文件从本地可执行文件索引发现。
dwgrewrite可执行文件已索引可执行文件从本地可执行文件索引发现。
dwgwrite可执行文件已索引可执行文件从本地可执行文件索引发现。
dxf2dwg可执行文件已索引可执行文件从本地可执行文件索引发现。
dxfwrite可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.13.3
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:libredwg
版本0.13.3
软件包管理器Homebrew
主页https://www.gnu.org/software/libredwg/
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation