在Ubuntu或者Debian中安装PCRE库
来源:互联网 发布:三星s8网络制式 编辑:程序博客网 时间:2024/06/05 07:38
我需要编译一些应用程序,同时也需要Perl 5兼容正则表达式库(PCRE)。在CentOs下,我可以使用一个叫pcre-devel,但是Debian可就不一样了。我怎样在Debian/Ubuntu Linux下安装pcre-devel呢?
Perl-compatible regular expression library. PCRE has its own nativeAPI, but a set of “wrapper” functions that are based on the POSIXAPI are also supplied in the library libpcreposix. Note that thisjust provides a POSIX calling interface to PCRE: the regularexpressions themselves still follow Perl syntax and semantics. Theheader file for the POSIX-style functions is called pcreposix.h. Toinstall PCRE, type thy following command:
Perl兼容正则表达式库(PCRE)有自己原生API,但是这一系列封装函是基于POSIX API,而POSIXAPI也支持libpcreposix库。这样只要提供一个POSIX的调用接口给PCRE后,正则表达式本身仍遵循Perl的语法和语义。POSIX-style的头文件是pcreposix.h,所以,安装PCRE,需要运行以下命令。
sudo apt-get update
sudo apt-get install libpcre3libpcre3-dev
你可能还需要安装
sudo apt-get install openssllibssl-dev
Perl-compatible regular expression library. PCRE has its own nativeAPI, but a set of “wrapper” functions that are based on the POSIXAPI are also supplied in the library libpcreposix. Note that thisjust provides a POSIX calling interface to PCRE: the regularexpressions themselves still follow Perl syntax and semantics. Theheader file for the POSIX-style functions is called pcreposix.h. Toinstall PCRE, type thy following command:
Perl兼容正则表达式库(PCRE)有自己原生API,但是这一系列封装函是基于POSIX API,而POSIXAPI也支持libpcreposix库。这样只要提供一个POSIX的调用接口给PCRE后,正则表达式本身仍遵循Perl的语法和语义。POSIX-style的头文件是pcreposix.h,所以,安装PCRE,需要运行以下命令。
sudo apt-get update
sudo apt-get install libpcre3libpcre3-dev
你可能还需要安装
sudo apt-get install openssllibssl-dev
- 在Ubuntu或者Debian中安装PCRE库
- 在Ubuntu或者Debian中安装PCRE库
- 在Ubuntu或者Debian中安装PCRE库
- 在Ubuntu或者Debian中安装PCRE库( Perl 5 Compatible Regular Expression Library )
- 如何在Ubuntu或者Debian中启动后进入命令行
- ubuntu 安装gcc pcre
- 在Ubuntu/Debian中安装 Google Chrome浏览器
- 在Ubuntu/Debian Linux系统中安装Chrome浏览器
- 在Debian/Ubuntu系统中安装*.sh与*.bin文件
- Ubuntu(Debian)中安装VirtualBox
- Linux系统入门学习:在Ubuntu或者Debian中启动后进入命令行
- lighttpd及相关依赖库pcre/bzip2在ubuntu下的安装
- 在debian中安装eAccelerator
- 在Debian/Ubuntu上安装Trac系统
- 如何在Debian/Ubuntu上安装Chrome
- 在debian/Ubuntu下安装sqlplus
- 在Ubuntu(Debian)上安装最新版Git
- 在Ubuntu(Debian)上安装最新版Git
- jQuery插件-轻量弹出层-UIDialog
- Ubuntu下安装MongoDB
- mongod 修复 Mon Mar 317:46:37
- 第五周上机任务项目1-(4参数初始化表对数据成员初始化)
- eval解析JSON中的注意点
- 在Ubuntu或者Debian中安装PCRE库
- Nginx configure 选项
- 2 Nginx服务器的安装与配置
- 我的linux学习10 例行命令
- 我的linux学习11 程序与资源管理
- 编程珠玑--位图在排序中的使用
- 我的linux学习9 linux的帐号与身份…
- 我的linux学习8 shell脚本
- 3 Nginx的基本配置和优化