How to Install and Uninstall libpcre2-dev Package on Debian 12 (Bookworm)

Last updated: May 17,2024

1. Install "libpcre2-dev" package

Please follow the guidance below to install libpcre2-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libpcre2-dev

2. Uninstall "libpcre2-dev" package

Please follow the guidelines below to uninstall libpcre2-dev on Debian 12 (Bookworm):

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

3. Information about the libpcre2-dev package on Debian 12 (Bookworm)

Package: libpcre2-dev
Source: pcre2
Version: 10.42-1
Installed-Size: 2588
Maintainer: Matthew Vernon
Architecture: amd64
Depends: libc-dev, libpcre2-8-0 (= 10.42-1), libpcre2-16-0 (= 10.42-1), libpcre2-32-0 (= 10.42-1), libpcre2-posix3 (= 10.42-1)
Conflicts: libpcre3-dev (<< 2:8.35-8)
Description: New Perl Compatible Regular Expression Library - development files
Description-md5: 83cd6126abdeb5c5410938130ac41e86
Multi-Arch: same
Homepage: https://pcre.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/p/pcre2/libpcre2-dev_10.42-1_amd64.deb
Size: 753232
MD5sum: 25dca01b4ad6ac7ccebe3ad8355c8883
SHA256: f0ff485a26daae8f742a1566426f0d98f06cdaf19ee0cc24764e09eff1c99257