in reply to Can't install GD on Ubuntu

On Ubuntu, you may be better off installing with the Synaptics Package Manager. Start Synaptics, and search for "Perl GD". Select to install the perl module, and it will ask if you want the dependencies too.... say yes.

If you want to use CPAN or a manual install, you need to install the libgd2 first. Manually from libgd homepage . Or with Ubuntu , you need the devel package

#untested sudo apt-get install libgd2 sudo apt-get install libgd2-dev

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: Can't install GD on Ubuntu
by Anonymous Monk on Apr 17, 2013 at 08:00 UTC

    try this:

    sudo apt-get -y install libgd2-xpm-dev build-essentialsudo apt-get -y install libgd2-xpm-dev build-essential