pkg.soopen package index

brew / rank 266

Install gd with Homebrew, apk, dnf, Nix, pacman, zypper

Graphics library to dynamically manipulate images. Version 2.3.3 via Homebrew; verified 2026-08-02. Also installable with nix: nix profile install nixpkgs#gd.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gd

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add gd

Alpine Linux edge package indexes · gd · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install gd

Fedora Rawhide package metadata · gd · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gd

nixpkgs package indexes · pkgs/by-name/gd/gd/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S gd

Arch Linux sync databases · gd · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install gd

openSUSE Tumbleweed package metadata · gd · source: download.opensuse.org

overview

Package summary

Graphics library to dynamically manipulate images

Commands and aliases

  • annotate
  • bdftogd
  • gd2copypal
  • gd2togif
  • gd2topng
  • gdcmpgif
  • gdparttopng
  • gdtopng
  • giftogd2
  • pngtogd
  • pngtogd2
  • webpng

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:image

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
annotateexecutableindexed executableDiscovered from the local executable index.
bdftogdexecutableindexed executableDiscovered from the local executable index.
gd2copypalexecutableindexed executableDiscovered from the local executable index.
gd2togifexecutableindexed executableDiscovered from the local executable index.
gd2topngexecutableindexed executableDiscovered from the local executable index.
gdcmpgifexecutableindexed executableDiscovered from the local executable index.
gdparttopngexecutableindexed executableDiscovered from the local executable index.
gdtopngexecutableindexed executableDiscovered from the local executable index.
giftogd2executableindexed executableDiscovered from the local executable index.
pngtogdexecutableindexed executableDiscovered from the local executable index.
pngtogd2executableindexed executableDiscovered from the local executable index.
webpngexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version2.3.3
manager updated2026-08-02
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gd
Version2.3.3
Package managerHomebrew
Homepagehttps://libgd.github.io/
Repositoryhttps://github.com/libgd/libgd
Last updated2026-08-02T20:52:04+09:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gd

nix profile install nixpkgs#gd
  • normalized package name match
  • Matched by: Gd
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gd/gd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

gd 2.3.3-r10

Library for the dynamic creation of images by programmers

https://libgd.github.io/

sudo apk add gd
  • License: GD
  • Architecture: x86_64
  • Source Package: gd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gd-dev 2.3.3-r10

Library for the dynamic creation of images by programmers (development files)

https://libgd.github.io/

sudo apk add gd-dev
  • License: GD
  • Architecture: x86_64
  • Source Package: gd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gd-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gd-doc 2.3.3-r10

Library for the dynamic creation of images by programmers (documentation)

https://libgd.github.io/

sudo apk add gd-doc
  • License: GD
  • Architecture: x86_64
  • Source Package: gd
  • normalized package name match
  • Matched by: Gd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libgd 2.3.3-r10

Library for the dynamic creation of images by programmers (libraries)

https://libgd.github.io/

sudo apk add libgd
  • License: GD
  • Architecture: x86_64
  • Source Package: gd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

gd 2.3.3-22.fc45

A graphics library for quick creation of PNG or JPEG images

http://libgd.github.io/

sudo dnf install gd
  • License: GD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gd
  • 14 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

gd-devel 2.3.3-22.fc45

The development libraries and header files for gd

http://libgd.github.io/

sudo dnf install gd-devel
  • License: GD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gd
  • 15 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gd
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

gd-progs 2.3.3-22.fc45

Utility programs that use libgd

http://libgd.github.io/

sudo dnf install gd-progs
  • License: GD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gd
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gd
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
pacman95%

gd 2.3.3-9

Library for the dynamic creation of images by programmers

https://libgd.github.io/

sudo pacman -S gd
  • License: custom
  • Architecture: x86_64
  • 5 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gd
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gd 2.3.3-5.1

A Drawing Library for Programs That Use PNG and JPEG Output

https://libgd.github.io/

sudo zypper install gd
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gd
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

gd-devel 2.3.3-5.1

Drawing Library for Programs with PNG and JPEG Output

https://libgd.github.io/

sudo zypper install gd-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gd
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gd-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

gd-devel-32bit 2.3.3-5.1

Drawing Library for Programs with PNG and JPEG Output

https://libgd.github.io/

sudo zypper install gd-devel-32bit
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gd
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gd-devel-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

libgd3 2.3.3-5.1

A Drawing Library for Programs That Use PNG and JPEG Output

https://libgd.github.io/

sudo zypper install libgd3
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gd
  • 12 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libgd3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

libgd3-32bit 2.3.3-5.1

A Drawing Library for Programs That Use PNG and JPEG Output

https://libgd.github.io/

sudo zypper install libgd3-32bit
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gd
  • 12 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libgd3-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Combined YAML source

View the package source record on GitHub.

combined/gd.yml

Used sources

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