Centos installation and compilation environment [Linux]
Use yumProgramInstall the required development kit (The following is the name of the standard RPM package)
# Yum install GCC gcc-C ++ gcc-g77 flex bison Autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel LibTIFF-devel FreeType-devel Pam-devel OpenSSL-devel libxml2-devel gettext-devel PCRE-devel
Here we will compile and install some minor software necessary for GD in centos, such as LibPNG, LibTIFF, FreeType, libjpeg, and gettext-devel, and install them with RPM, it can avoid time-consuming manual centos compilation and installation, and avoid many errors. Compilation of these small software is very troublesome. The compilation of these small software is wrong. Of course, GD cannot be installed, and PhP5 compilation is useless. Therefore, install these services in a fast and concise manner. This will not affect the server performance.