How to Install and Uninstall libpcre2-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 14,2024

1. Install "libpcre2-dev" package

In this section, we are going to explain the necessary steps to install libpcre2-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libpcre2-dev

2. Uninstall "libpcre2-dev" package

Please follow the steps below to uninstall libpcre2-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libpcre2-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpcre2-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libpcre2-dev
Architecture: amd64
Version: 10.36-2ubuntu5
Multi-Arch: same
Priority: optional
Section: libdevel
Source: pcre2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthew Vernon
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2583
Depends: libc6-dev, libpcre2-8-0 (= 10.36-2ubuntu5), libpcre2-16-0 (= 10.36-2ubuntu5), libpcre2-32-0 (= 10.36-2ubuntu5), libpcre2-posix2 (= 10.36-2ubuntu5)
Conflicts: libpcre3-dev (<< 2:8.35-8)
Filename: pool/main/p/pcre2/libpcre2-dev_10.36-2ubuntu5_amd64.deb
Size: 686408
MD5sum: 1825f4bd3becab45bad5a939f183fa03
SHA1: b7b8e1a24c7200d97999601ec68cb985984d3a07
SHA256: 74d935667201d53e5c0f6b7b1e10e44bf140809147952826a0ea4cbc42a4f827
SHA512: 9e50ea15bcbbc68b1797288c571ec46db0cb11b8804793d9b5e3e6e3fa28ec715572f1158c953a4d43b86747980ea68f2db1b3a3bf1e6455df80d08fb71098da
Homepage: https://pcre.org/
Description-en: New Perl Compatible Regular Expression Library - development files
This is PCRE2, the new implementation of PCRE, a library of functions
to support regular expressions whose syntax and semantics are as
close as possible to those of the Perl 5 language. New projects
should use this library in preference to the older library,
confusingly called pcre3 in Debian.
.
This package contains the development files, including headers,
static libraries, and documentation.
Description-md5: 83cd6126abdeb5c5410938130ac41e86