【CentOS】如何在线安装pcre

来源:互联网 作者:佚名 时间:2014-08-10 10:37
EA003317441NL1.检查CentOS系统是否安装prce,如果已安装则会显示pcre的版本信息[root@localhost/]#rpm-qapcrepcre-7.8-6.el6.i6862.删除pcre包[root@localhost/

EA003317441NL

1.检查CentOS系统是否安装prce,,如果已安装则会显示pcre的版本信息

[root@localhost /]# rpm -qa pcre
pcre-7.8-6.el6.i686


2.删除pcre包
[root@localhost /]# rpm -e --nodeps pcre

[root@localhost /]# rpm -qa pcre
3.在线安装pcre

[root@localhost /]# yum install pcre

4.查看pcre的安装路径

[root@localhost /]# rpm -qa pcre
pcre-7.8-6.el6.i686
[root@localhost /]# 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


原文来自:http://www.68idc.cn/help/jiabenmake/qita/20140810122193.html


你可能感兴趣的:(【CentOS】如何在线安装pcre)