View this package for all Ubuntu releases →

How to install libgd-dev in Ubuntu 24.04 (noble)

GD Graphics Library (development version)

Vendor: GetPageSpeed https://libgd.github.io/

Install

curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb
sudo apt-get install -y /tmp/getpagespeed-release.deb
rm /tmp/getpagespeed-release.deb
sudo apt-get update
sudo apt-get install -y libgd-dev

Free to install; commercial production use requires a subscription. For other releases and channels, use the setup wizard.

Description

GD is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colours, cut and paste from other images, flood fills, and write out the result as a PNG file. This is particularly useful in World Wide Web applications, where PNG is one of the formats accepted for inline images by most browsers. This is the full development version of the library.

Packages

Package Size Built
libgd-dev_2.3.3-gps5_amd64 252 KiB 2026-11-25
libgd-dev_2.3.3-gps5_arm64 244 KiB 2026-11-25
libgd-dev_2.3.3-gps4_amd64 257 KiB 2026-11-10
libgd-dev_2.3.3-gps4_arm64 248 KiB 2026-11-10

Subscribe