# libredwg を Homebrew, Nix, zypper でインストール

libredwg のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libredwg
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libredwg
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#libredwg
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/libredwg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install libredwg-devel
```

  証拠: openSUSE Tumbleweed package metadata: libredwg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:libredwg
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.13.3
- **ソース概要:** DWG utilities
- **ホームページ:** <https://www.gnu.org/software/libredwg/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- dwg2SVG (エイリアス)
- dwg2dxf (エイリアス)
- dwgadd (エイリアス)
- dwgbmp (エイリアス)
- dwgfilter (エイリアス)
- dwggrep (エイリアス)
- dwglayers (エイリアス)
- dwgread (エイリアス)
- dwgrewrite (エイリアス)
- dwgwrite (エイリアス)
- dxf2dwg (エイリアス)
- dxfwrite (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.13.3
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/LibreDWG/libredwg>
- <https://www.gnu.org/software/libredwg/>
- <https://www.gnu.org/software/libredwg/manual/LibreDWG.html>


## セキュリティノート

libredwg に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

- Nix - libredwg: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libredwg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - libredwg-devel - 0.14.8413-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libredwg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for libredwg | https://www.gnu.org/software/libredwg/
- zypper - libredwg-tools - 0.14.8413-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libredwg-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Command line utilities for handling DWG file | https://www.gnu.org/software/libredwg/
- zypper - libredwg0 - 0.14.8413-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libredwg0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A library to handle DWG files | https://www.gnu.org/software/libredwg/


## Combined YAML source

View the package source record on GitHub. [combined/libredwg.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libredwg.yml)


## ソース

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
