How to install FreeType support for GD on Debian

2 posts / 0 new
Last post
#1 Wed, 11/07/2012 - 16:06
mikeparkins

How to install FreeType support for GD on Debian

I have installed GD using the command apt-get install php5-gd and this was successful but the website I am using is complaining about not having FreeType libraries installed.

How do I get this working?

Thanks

Wed, 11/07/2012 - 19:47
andreychek

Howdy,

You would install freetype in a similar manner to how you installed php5-gd... you would just do "apt-get install PACKAGE_NAME".

The exact name of the package depends on the distribution you're using. On Ubuntu 12.04, you might wish to install libfreetype6 and libfreetype6-dev. You could do that with this command:

apt-get install libfreetype6 libfreetype6-dev

Topic locked