Install the PCRE Library in Ubuntu or Debian (Perl5CompatibleRegularExpressionLibrary)

Source: Internet
Author: User
Tags install openssl
IneedtocompilefewapplicationandIneedPerl5CompatibleRegularExpressionLibrary (PCRE). UnderCentOSIcanuseapackagecalledpcre-devel, butDebiandonothavethesame. HowdoIinstall

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?

I need to compile some applications and Perl 5 Compatible Regular Expression Library (PCRE ). In CentOs, I can use a pcre-devel, but Debian is different. How can I install pcre-devel In 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:

Perl Compatible Regular Expression Library (PCRE) has its own native API, but this series of encapsulation functions are based on posix api, and posix api also supports libpcreposix library. In this way, after a POSIX call interface is provided to PCRE, the regular expression itself still follows the Perl syntax and semantics. The header file of POSIX-style is pcreposix. h. Therefore, to install PCRE, run the following command.

Sudo apt-get update
Sudo apt-get install libpcre3 libpcre3-dev

You may also need to install
Sudo apt-get install openssl libssl-dev

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.