How to install libgd3 on Ubuntu

GD Graphics Library

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

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel amd64 arm64 Version
Ubuntu 24.04 (noble) Base 2.3.3

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 runtime package of the library.

Built for Ubuntu.

Install

Base Ubuntu 24.04

libgd3 on Ubuntu 24.04 (noble)

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 libgd3

Package downloads require an active GetPageSpeed subscription — one repository for libgd3 and thousands more packages for Ubuntu.

Subscribe — from $10/mo

Other releases and channels: use the setup wizard.

Frequently asked questions

How do I install libgd3 on Ubuntu?

Add the GetPageSpeed repository, then install the libgd3 package with your system package manager.

Which Ubuntu versions is libgd3 available for?

libgd3 is available for Ubuntu 24.04.

Subscribe