Active7 months ago

I'm trying to use imagefttext. And I need to have GD library and/or freetype installed.I'm new to this kind of stuffs, How can I install GD library and freetype in Linux ?

Jan 24, 2006  Hi, as I install the GD library on my server? I'm new to this kind of stuffs, How can I install GD library and freetype in Linux? Php linux ubuntu gd freetype. Sudo yum install php-gd For Debian/ubuntu.

Feb 02, 2011  How to install the php gd library? Hi, I'm new to using cPanel, and I've worked all day trying to install the php gd library. Could someone give me a. Is this vps cpanel? If so you have to install the gd library from the easyapache installer available in whm because by default on cpanel it disables php packages from being installed as it will break cpanel or parts of it.

Alireza Fallah
3,9793 gold badges24 silver badges50 bronze badges
C A McC A Mc

4 Answers

Installing GD :

For CentOS / RedHat / Fedora :

For Debian/ubuntu :

Installing freetype :

For CentOS / RedHat / Fedora :

For Debian/ubuntu :

Cpanel Install Php Gd Library

Don't forget to restart apache after that (if you are using apache):

CentOS / RedHat / Fedora :

Or

Debian/ubuntu :

Or

Alireza FallahAlireza Fallah
3,9793 gold badges24 silver badges50 bronze badges

Things are pretty much simpler unless they are made confusing.

To Install GD library in Ubuntu

To Install Freetype in Ubuntu

Installing apache and php on windows. Apache 1.3.x on Unix systems; Apache 2.x on Unix systems; Nginx 1.4.x on Unix systems; Lighttpd 1.4 on Unix systems; Sun, iPlanet and Netscape servers on Sun Solaris. Installing a PHP extension on Windows; Compiling shared PECL extensions with the pecl command; Compiling shared PECL extensions with phpize.

XIMRXXIMRX
1,3292 gold badges21 silver badges46 bronze badges

For CentOS:When installing php-gd you need to specify the version. I fixed it by running:sudo yum install php55-gd

Mithun BillaraMithun Billara

Installing freetype:

sudo apt update && sudo apt install freetype2-demos

IMAN4KIMAN4K
6172 gold badges13 silver badges26 bronze badges

Not the answer you're looking for? Browse other questions tagged phplinuxubuntugdfreetype or ask your own question.

Active6 years, 10 months ago

When I tried to install php-gd library in my GoDaddy VPS with CentOS, It gives:

EEAA
103k16 gold badges149 silver badges223 bronze badges
Arun DavidArun David
Install php gd extension

4 Answers

This is the command that failed:

Since EasyApache was unable to resolve it automatically you should:
1) Manually run the failed YUM command (shown above) via SSH
2) See if your particular error is addressed at http://www.cpanel.net/support/could_not_ensurepkgs.htm
3) Resolve the YUM problem manually
4) Re-run EasyApache

When running that command as suggested by the outputabove, you would see openssl conflicts between the i386 andi686 packages:

Transaction Check Error:
package openssl-0.9.8e-12.el5_5.7.i686 is already installed file /lib/.libcrypto.so.0.9.8e.hmac from install of openssl-0.9.8e-12.el5_5.7.i686 conflicts with file from package openssl-0.9.8e-12.el5_5.7.i386 file /lib/.libssl.so.0.9.8e.hmac from install of openssl-0.9.8e-12.el5_5.7.i686 conflicts with file from package openssl-0.9.8e-12.el5_5.7.i386 file /lib/libcrypto.so.0.9.8e from install of openssl-0.9.8e-12.el5_5.7.i686 conflicts with file from package openssl-0.9.8e-12.el5_5.7.i386 file /lib/libssl.so.0.9.8e from install of openssl-0.9.8e-12.el5_5.7.i686 conflicts with file from package openssl-0.9.8e-12.el5_5.7.i386 file /usr/bin/openssl from install of openssl-0.9.8e-12.el5_5.7.i686 conflicts with file from package openssl-0.9.8e-12.el5_5.7.i386 file /usr/lib/openssl/engines/lib4758cca.so from install of openssl-0.9.8e-12.el5_5.7.i686 conflicts with file from package ( .. )

To fix this for you, I ran this command:

Next, I ran the yum command again, and it was successful.

Finally, I ran /scripts/easyapache, and it is running now. Whencomplete, there will be support for the gd php module.

SmartMohiSmartMohi

Php Gd Library Tutorial

First, check if the package wasn't excluded. Open up the yum config with vi /etc/yum.conf and look for a line starting with exclude=if php-gdor php*is mentioned, remove it.

Sometimes VPS-hosters won't allow you to use some packages because they hog memory. So you might want to check you aliases by running aliasand check if there is no alias for yumwith an exclude-option.

Otherwise you could use RPMForge to install this package:

AMD processor: Install nvidia chipset and intel rapid storage technology Intel processor: Install Intel Chipset CHIPSET: 1. Intel Chipset Installation utility: or 2. There are 2 types of HP Pavilion DV2000, one uses AMD Processor and the other one use Intel Processor. Drivers for hp pavilion dv2000 windows 7. Follow the guide below to install the driver.

Bart De VosBart De Vos
16.3k5 gold badges55 silver badges77 bronze badges

its definitely a package in Centos 5.5

is this vps cpanel? if so you have to install the gd library from the easyapache installer available in whm because by default on cpanel it disables php packages from being installed as it will break cpanel or parts of it

How To Install Php Gd Library

anthonysomersetanthonysomerset
3,8102 gold badges16 silver badges22 bronze badges

EasyApache on WHM only installs Zlib under GD. No info about how to install GD2 [for image manipulation for CodeIgnitor v2.0] in goDaddy Linux VPS cpanel

Iain
107k17 gold badges171 silver badges262 bronze badges

Install Php Gd Library Cpanel

mkb2bmkb2b

Php Gd Library Download

Not the answer you're looking for? Browse other questions tagged linuxapache-2.2centosgd or ask your own question.