# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/libredwg>
- **バージョン:** 0.13.3
- **ソース概要:** DWG utilities
- **ホームページ:** <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>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- autoconf
- automake
- texinfo

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.13.3
- ローカルデータ: OK
- 上流リポジトリ: https://www.gnu.org/software/libredwg/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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 を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libredwg
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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/


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/ja/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [autoconf](https://pkg.so/ja/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/ja/brew/automake/) - Build dependency declared by Homebrew.
- [texinfo](https://pkg.so/ja/brew/texinfo/) - Build dependency declared by Homebrew.
- [cairo](https://pkg.so/ja/brew/cairo/) - Shares pkgdb curated category or tags: cli, graphics-library, media.
- [librsvg](https://pkg.so/ja/brew/librsvg/) - Shares pkgdb curated category or tags: cli, graphics-library, media.
- [plotutils](https://pkg.so/ja/brew/plotutils/) - Shares pkgdb curated category or tags: cli, graphics-library, media.
- [unrtf](https://pkg.so/ja/brew/unrtf/) - Shares pkgdb curated category or tags: cli, gnu, media.
- [coin3d](https://pkg.so/ja/brew/coin3d/) - Shares pkgdb curated category or tags: cli, graphics-library, media.
- [admesh](https://pkg.so/ja/brew/admesh/) - Shares pkgdb curated category or tags: cad, cli, media.
- [deark](https://pkg.so/ja/brew/deark/) - Shares pkgdb curated category or tags: cli, file-conversion, media.
- [ocrad](https://pkg.so/ja/brew/ocrad/) - Shares pkgdb curated category or tags: cli, gnu, media.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
