Ubuntu / Debian Install PCRE Library ( Perl 5 Compatible Regular Expression Library )

by Vivek Gite on March 28, 2008 · 3 comments

I need to compile few application and I need Perl 5 Compatible Regular Expression Library (PCRE). Under CentOS I can use a package called pcre-devel, but Debian do not have the same. How do I install pcre-devel under Debian / Ubuntu Linux?

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:
# apt-get update
# apt-get install libpcre3 libpcre3-dev

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 3 comments… read them below or add one }

1 noobuntu November 29, 2010

thank you sir!

Reply

2 Shaki Heighton June 16, 2011

Hi, I’ve got a problem to install pcre in Ubuntu 10.04 LTS ‘cuz I’m getting error message that the is not found. Do I need to enable/add some repository ?

Thanks anyway …

Reply

3 Shaki Heighton June 16, 2011

Hi, I’ve got a problem to install pcre in Ubuntu 10.04 LTS ‘cuz I’m getting error message that the package is not found. Do I need to enable/add some repository ?

Thanks anyway …

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 2 + 6 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: