How to install libgd-tools on Ubuntu
GD command line tools and example code
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 some simple command line tools and example code that use the GD graphics library.
Built for Ubuntu.
Install
libgd-tools 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 libgd-tools
Package downloads require an active GetPageSpeed subscription — one repository for libgd-tools and thousands more packages for Ubuntu.
Subscribe — from $10/moOther releases and channels: use the setup wizard.
Frequently asked questions
How do I install libgd-tools on Ubuntu?
Add the GetPageSpeed repository, then install the libgd-tools package with your system package manager.
Which Ubuntu versions is libgd-tools available for?
libgd-tools is available for Ubuntu 24.04.