在Ubuntu或者Debian中安装PCRE库
来源:互联网 发布:notepad格式化php代码 编辑:程序博客网 时间:2024/05/21 07:06
我需要编译一些应用程序,同时也需要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
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
0 0
- 在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
- Activity生命周期
- Windows 内存管理方法(一)
- 字体分辨率适配问题
- 写出一个你自己的MVC框架-基于对springMVC源码实现和理解(4):数据初始化(三)
- 安卓app的service里的延时问题
- 在Ubuntu或者Debian中安装PCRE库
- LNMP+zabbix一键安装部署
- 单点触摸和多点触摸的使用方法
- kafka使用笔记
- Content Provider
- 在Eclipse中安装jar包到本地Maven仓库
- 写出一个你自己的MVC框架-基于对springMVC源码实现和理解(5):数据初始化(四)
- 黑马程序员——java集合框架
- Yod Framework v1.3.5 发布,基于 C 的 PHP 框架