标签:style blog color os 文件 div log c++
安装centos系统依赖库,安装软件过程中,经常需要的一些库,可以在编译安装软件前执行如下命令:
首先更新系统(这步可以不执行)
yum -y update
预安装 编译器及库文件
yum -y install make cmake gcc g++ gcc-c++ gcc-g77 libtool autoconf automake imake libxml2-devel expat-devel yum -y install ncurses ncurses-devel pcre pcre-devel openssl openssl-devel openldap openldap-devel openldap-clients openldap-servers yum -y install glibc glibc-devel glib2 glib2-devel jemalloc libtiff libtiff-devel libexif libexif-devel fontconfig fontconfig-devel yum -y install libjpeg libjpeg-devel libpng libpng-devel giflib giflib-devel freetype freetype-devel libxml2 zlib zlib-devel bzip2 bzip2-devel curl curl-devel yum -y install e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel nss_ldap gettext gd tcl tk glibc.i686 db4 db4-utils yum -y install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker cpan perl-ExtUtils-Embed
差不多,安装一般软件不会再报依赖错误了.
yum安装centos系统依赖库,布布扣,bubuko.com
标签:style blog color os 文件 div log c++
原文地址:http://www.cnblogs.com/yjken/p/3921877.html