在Ubuntu大概Debian中安装PCRE库[服务器安全]
本文“在Ubuntu大概Debian中安装PCRE库[服务器安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
我需求编译一些利用程序,同时也需求Perl 5 兼容正则表达式库(PCRE).在CentOs下,我可以利用一个叫pcre-devel,但是Debian可就不一样了.我怎样在Debian/Ubuntu Linux下安装pcre-devel呢?
Perl-compatible regular expression library. PCRE has its own native API, but a set of “wrapper” functions that are based on the POSIX API are also supplied in the library libpcreposix. Note that this just provides a POSIX calling interface to PCRE: the regular expressions themselves still follow Perl syntax and semantics. The header file for the POSIX-style functions is called pcreposix.h. To install PCRE, type thy following command:
Perl兼容正则表达式库(PCRE)有自己原生API,但是这一系列封装函是基于POSIX API,而POSIX API也支持libpcreposix库.这样只要供应一个POSIX的调用接口给PCRE后,正则表达式本身仍遵守Perl的语法和语义.POSIX-style的头文件是pcreposix.h,所以,安装PCRE,需求运行以下号令.
sudo apt-get update
sudo apt-get install libpcre3 libpcre3-dev
你大概还需求安装
sudo apt-get install openssl libssl-dev
以上是“在Ubuntu大概Debian中安装PCRE库[服务器安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |