# yum install -y gcc gdb strace gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs patch e2fsprogs-devel krb5-devel libidn libidn-devel openldap-devel nss_ldap openldap-clients openldap-servers libevent-devel libevent uuid-devel uuid mysql-devel lm_sensors-libs mesa-libGL mesa-libGLU net-snmp-libs nfs-utils-lib-devel libXpm libXv libXxf86vm libcephfs1 libfontenc libgssglue-devel libgudev1 libmng libogg liboil librados2 librbd1 libtheora libunwind libvisual libvorbis
centos 6.5常见lib库安装
在CentOS安装软件的时候,可能缺少一部分支持库,而报错。这里首先安装系统常用的支持库。那么在安装的时候就会减少很多的错误的出现。