EA003317441NL
1.检查CentOS系统是否安装prce,如果已安装则会显示pcre的版本信息
[[email protected] /]# rpm -qa pcre
pcre-7.8-6.el6.i686
2.删除pcre包
[[email protected] /]# rpm -e --nodeps pcre
[[email protected] /]# rpm -qa pcre
3.在线安装pcre
[[email protected] /]# yum install pcre
4.查看pcre的安装路径
[[email protected] /]# rpm -qa pcre
pcre-7.8-6.el6.i686
[[email protected] /]# rpm -ql pcre-7.8-6.el6.i686
/lib/libpcre.so.0
/lib/libpcre.so.0.0.1
/usr/bin/pcregrep
/usr/bin/pcretest
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcreposix.so.0
/usr/lib/libpcreposix.so.0.0.0
/usr/share/doc/pcre-7.8
/usr/share/doc/pcre-7.8/AUTHORS
/usr/share/doc/pcre-7.8/COPYING
/usr/share/doc/pcre-7.8/ChangeLog
/usr/share/doc/pcre-7.8/LICENCE
/usr/share/doc/pcre-7.8/NEWS
/usr/share/doc/pcre-7.8/README
/usr/share/man/man1/pcre-config.1.gz
/usr/share/man/man1/pcregrep.1.gz
/usr/share/man/man1/pcretest.1.gz
【CentOS】如何在线安装pcre?,布布扣,bubuko.com