macOS
brew install gdlocal Homebrew formula metadata
brew
Graphics library to dynamically manipulate images. Version 2.3.3 via Homebrew; verified 2026-06-22.
install
brew install gdlocal Homebrew formula metadata
sudo apk add gdAlpine Linux edge package indexes · gd · source: dl-cdn.alpinelinux.org
sudo dnf install gdFedora Rawhide package metadata · gd · source: dl.fedoraproject.org
nix profile install nixpkgs#gdnixpkgs package indexes · pkgs/by-name/gd/gd/package.nix · source: api.github.com
sudo pacman -S gdArch Linux sync databases · gd · source: geo.mirror.pkgbuild.com
sudo zypper install gdopenSUSE Tumbleweed package metadata · gd · source: download.opensuse.org
overview
Graphics library to dynamically manipulate images
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
annotate | cli | global executable | |
bdftogd | cli | global executable | |
gd2copypal | cli | global executable | |
gd2togif | cli | global executable | |
gd2topng | cli | global executable | |
gdcmpgif | cli | global executable | |
gdparttopng | cli | global executable | |
gdtopng | cli | global executable | |
giftogd2 | cli | global executable | |
pngtogd | cli | global executable | |
pngtogd2 | cli | global executable | |
webpng | cli | global executable |
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.
https://github.com/libgd/libgd
install metadata
| Package key | brew:gd |
|---|---|
| Version | 2.3.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gd |
| Homepage | https://libgd.github.io/ |
| Repository | https://github.com/libgd/libgd |
| Upstream docs | https://libgd.github.io/manuals/2.3.3 |
| License | GD |
| Source archive | https://github.com/libgd/libgd/releases/download/gd-2.3.3/libgd-2.3.3.tar.xz |
| Last updated | 2026-06-22T14:03:26-07:00 |
| Pulse | updated |
| Dependencies | fontconfig, freetype, jpeg-turbo, libavif, libpng, libtiff, webp |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gd |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 6 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gd
nix profile install nixpkgs#gdgd 2.3.3-r10
Library for the dynamic creation of images by programmers
sudo apk add gdgd-dev 2.3.3-r10
Library for the dynamic creation of images by programmers (development files)
sudo apk add gd-devgd-doc 2.3.3-r10
Library for the dynamic creation of images by programmers (documentation)
sudo apk add gd-doclibgd 2.3.3-r10
Library for the dynamic creation of images by programmers (libraries)
sudo apk add libgdgd 2.3.3-21.fc44
A graphics library for quick creation of PNG or JPEG images
sudo dnf install gdgd-devel 2.3.3-21.fc44
The development libraries and header files for gd
sudo dnf install gd-develgd-progs 2.3.3-21.fc44
Utility programs that use libgd
sudo dnf install gd-progsgd 2.3.3-9
Library for the dynamic creation of images by programmers
sudo pacman -S gdgd 2.3.3-4.7
A Drawing Library for Programs That Use PNG and JPEG Output
sudo zypper install gdgd-devel 2.3.3-4.7
Drawing Library for Programs with PNG and JPEG Output
sudo zypper install gd-develgd-devel-32bit 2.3.3-4.7
Drawing Library for Programs with PNG and JPEG Output
sudo zypper install gd-devel-32bitlibgd3 2.3.3-4.7
A Drawing Library for Programs That Use PNG and JPEG Output
sudo zypper install libgd3libgd3-32bit 2.3.3-4.7
A Drawing Library for Programs That Use PNG and JPEG Output
sudo zypper install libgd3-32bitsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.