# gd を Homebrew, apk, dnf, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:gd
```

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

### macOS

- Homebrew (100%):

```sh
brew install gd
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gd
```

  証拠: Alpine Linux edge package indexes: gd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install gd
```

  証拠: Fedora Rawhide package metadata: gd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gd
```

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

- pacman (92%):

```sh
sudo pacman -S gd
```

  証拠: Arch Linux sync databases: gd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gd
```

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

## パッケージ情報

- **パッケージキー:** brew:gd
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.3.3
- **ソース概要:** Graphics library to dynamically manipulate images
- **ホームページ:** <https://libgd.github.io/>
- **リポジトリ:** <https://github.com/libgd/libgd>
- **最終更新:** 2026-08-02T20:52:04+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- annotate (エイリアス)
- bdftogd (エイリアス)
- gd2copypal (エイリアス)
- gd2togif (エイリアス)
- gd2topng (エイリアス)
- gdcmpgif (エイリアス)
- gdparttopng (エイリアス)
- gdtopng (エイリアス)
- giftogd2 (エイリアス)
- pngtogd (エイリアス)
- pngtogd2 (エイリアス)
- webpng (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

GD Graphics Library, packaged as gd or libgd, is a C library for dynamic image creation. It is commonly used to generate charts, graphics, thumbnails, and image conversions, especially in web applications.

### プロジェクトの歴史

The official README and About page state that GD was originally developed by Thomas Boutell and is now maintained by many contributors, with the About page placing maintenance under the PHP.net umbrella. The modern repository describes C99/C++-compatible builds through CMake or configure and broad platform support.

### 採用の歴史

GD spread through language bindings and web stacks: the official pages name Perl, PHP, Ruby, and other wrappers, and describe web development as its most common application area. Its package-manager life is tied to optional image-format libraries such as libpng, libjpeg, libwebp, libavif, libheif, libtiff, libXpm, FreeType, Fontconfig, libraqm, and libimagequant.

### 使われ方

Applications link libgd to create or transform raster images on demand. Typical uses include chart generation, thumbnailing, format conversion, transparency and blending operations, image transformations, filters, and text rendering when optional font libraries are enabled.

### パッケージ好きにとっての重要性

GD is a classic dependency package: small at the API surface, but connected to a wide graph of image codecs, language bindings, build systems, and security updates. Its history explains why many Unix package sets carry both libgd itself and a cluster of optional image/font libraries.

### タイムライン

- 2015: GitHub records the libgd repository creation.
- 2017: GD 2.2.5 is released with security fixes.
- 2020: GD 2.3.0 is released with multiple security fixes and test additions.
- 2021: GD 2.3.2 adds AVIF and HEIF support, followed by GD 2.3.3 build and bug fixes.
- 2026: The README lists GD 2.3 in bug-fix support, GD 2.4 as active development, and GD 3.0 as early vector/API work.

### Related projects

- PHP.net is the umbrella named by the official About page.
- Perl, PHP, Ruby, and other bindings expose GD to language ecosystems.
- libpng, libjpeg or libjpeg-turbo, libwebp, libavif, libheif, libtiff, libXpm, FreeType, Fontconfig, libraqm, and libimagequant are adjacent optional dependencies.

### ソース

- <https://api.github.com/repos/libgd/libgd>
- <https://api.github.com/repos/libgd/libgd/releases>
- <https://github.com/libgd/libgd>
- <https://libgd.github.io/>
- <https://libgd.github.io/pages/about.html>
- <https://libgd.github.io/pages/docs.html>
- <https://raw.githubusercontent.com/libgd/libgd/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/libgd/libgd/master/README.md>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - gd: normalized package name match | nixpkgs package indexes: pkgs/by-name/gd/gd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gd - 2.3.3-r10: normalized package name match | Alpine Linux edge package indexes: gd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for the dynamic creation of images by programmers | https://libgd.github.io/
- apk - gd-dev - 2.3.3-r10: normalized package name match | Alpine Linux edge package indexes: gd-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for the dynamic creation of images by programmers (development files) | https://libgd.github.io/
- apk - gd-doc - 2.3.3-r10: normalized package name match | Alpine Linux edge package indexes: gd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for the dynamic creation of images by programmers (documentation) | https://libgd.github.io/
- apk - libgd - 2.3.3-r10: normalized package name match | Alpine Linux edge package indexes: libgd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for the dynamic creation of images by programmers (libraries) | https://libgd.github.io/
- dnf - gd - 2.3.3-22.fc45: normalized package name match | Fedora Rawhide package metadata: gd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A graphics library for quick creation of PNG or JPEG images | http://libgd.github.io/
- dnf - gd-devel - 2.3.3-22.fc45: normalized package name match | Fedora Rawhide package metadata: gd-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The development libraries and header files for gd | http://libgd.github.io/
- dnf - gd-progs - 2.3.3-22.fc45: normalized package name match | Fedora Rawhide package metadata: gd-progs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Utility programs that use libgd | http://libgd.github.io/
- pacman - gd - 2.3.3-9: normalized package name match | Arch Linux sync databases: gd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Library for the dynamic creation of images by programmers | https://libgd.github.io/
- zypper - gd - 2.3.3-5.1: normalized package name match | openSUSE Tumbleweed package metadata: gd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Drawing Library for Programs That Use PNG and JPEG Output | https://libgd.github.io/
- zypper - gd-devel - 2.3.3-5.1: normalized package name match | openSUSE Tumbleweed package metadata: gd-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Drawing Library for Programs with PNG and JPEG Output | https://libgd.github.io/
- zypper - gd-devel-32bit - 2.3.3-5.1: normalized package name match | openSUSE Tumbleweed package metadata: gd-devel-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Drawing Library for Programs with PNG and JPEG Output | https://libgd.github.io/
- zypper - libgd3 - 2.3.3-5.1: normalized package name match | openSUSE Tumbleweed package metadata: libgd3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Drawing Library for Programs That Use PNG and JPEG Output | https://libgd.github.io/
- zypper - libgd3-32bit - 2.3.3-5.1: normalized package name match | openSUSE Tumbleweed package metadata: libgd3-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Drawing Library for Programs That Use PNG and JPEG Output | https://libgd.github.io/


## Combined YAML source

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


## ソース

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