Installing libgd
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the cd command to go to the directory where the installation package is saved.
- Decompress the installation package.
unzip gd-2.2.5.zip
- Go to the directory generated after the decompression.
cd libgd-gd-2.2.5
- Perform the compilation and installation.
./bootstrap.sh ./configure --enable-shared make make install
- Check whether the installation is successful.
gdlib-config --version
If the correct version information is displayed, the installation is successful.
Parent topic: Configuring the Compilation Environment