首页 > 系统 > Linux > 正文

Linux中必备常用支持库的安装(CentOS-6.5)

2024-06-28 16:02:37
字体:
来源:转载
供稿:网友
在CentOS安装软件的时候,可能缺少一部分支持库,而报错。这里首先安装系统常用的支持库。那么在安装的时候就会减少很多的错误的出现。

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    

yum install -y apr* autoconf automake bison bzip2 bzip2* cloog-ppl compat* cpp curl curl-devel fontconfig fontconfig-devel freetype freetype* freetype-devel gcc gcc-c++ gtk+-devel gd gettext gettext-devel glibc kernel kernel-headers keyutils keyutils-libs-devel krb5-devel libcom_err-devel libpng libpng* libpng-devel libjpeg* libsepol-devel libselinux-devel libstdc++-devel libtool* libgomp libxml2 libxml2-devel libXpm* libX* libtiff libtiff* make mpfr ncurses* ntp openssl nasm nasm* openssl-devel patch pcre-devel perl php-common php-gd policycoreutils ppl telnet t1lib t1lib* wget zlib-devel

可能出现:

Transaction Check Error:  file /usr/lib64/libxcb-icccm.so.1.0.0 from install of compat-xcb-util-0.3.6-6.el6.x86_64 conflicts with file from package xcb-util-0.3.6-1.el6.x86_64 Error Summary错误

解决办法就是先卸载 yum remove libxcb*

然后 安装 yum install libxcb*


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表