pkg.soopen package index

brew / 排名 2795

使用 Homebrew, Nix, zypper 安装 libredwg

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libredwg

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#libredwg

nixpkgs package indexes · pkgs/by-name/li/libredwg/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install libredwg-devel

openSUSE Tumbleweed package metadata · libredwg-devel · 来源: download.opensuse.org

概览

软件包摘要

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。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dwg2SVGcli全局可执行文件
dwg2dxfcli全局可执行文件
dwgaddcli全局可执行文件
dwgbmpcli全局可执行文件
dwgfiltercli全局可执行文件
dwggrepcli全局可执行文件
dwglayerscli全局可执行文件
dwgreadcli全局可执行文件
dwgrewritecli全局可执行文件
dwgwritecli全局可执行文件
dxf2dwgcli全局可执行文件
dxfwritecli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本0.13.3
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.gnu.org/software/libredwg/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.gnu.org/software/libredwg/none 置信度

安装元数据

软件包元数据

软件包键brew:libredwg
版本0.13.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libredwg
主页https://www.gnu.org/software/libredwg/
上游文档https://www.gnu.org/software/libredwg/
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/libredwg/libredwg-0.13.3.tar.gz
构建依赖autoconf, automake, texinfo
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

libredwg

nix profile install nixpkgs#libredwg
  • normalized package name match
  • 匹配方式:Libredwg
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libredwg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

libredwg-devel 0.14.8413-1.2

Development files for libredwg

https://www.gnu.org/software/libredwg/

sudo zypper install libredwg-devel
  • License: GPL-3.0-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libredwg
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libredwg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libredwg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

libredwg-tools 0.14.8413-1.2

Command line utilities for handling DWG file

https://www.gnu.org/software/libredwg/

sudo zypper install libredwg-tools
  • License: GPL-3.0-or-later
  • Category: Productivity/File utilities
  • Architecture: x86_64
  • Source Package: libredwg
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libredwg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libredwg-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

libredwg0 0.14.8413-1.2

A library to handle DWG files

https://www.gnu.org/software/libredwg/

sudo zypper install libredwg0
  • License: GPL-3.0-or-later
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: libredwg
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libredwg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libredwg0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation