How to Install libgd-dev in Ubuntu 18.04



Install libgd-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install libgd-dev

Description:

GD Graphics Library (development version)

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.

Homepage: http://www.libgd.org/

Version: 2.2.5-4

Section: libdevel