How to Install and Uninstall pcregrep Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "pcregrep" package

This tutorial shows how to install pcregrep on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install pcregrep

2. Uninstall "pcregrep" package

Please follow the guidance below to uninstall pcregrep on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove pcregrep $ sudo apt autoclean && sudo apt autoremove

3. Information about the pcregrep package on Ubuntu 21.10 (Impish Indri)

Package: pcregrep
Architecture: amd64
Version: 2:8.39-13build3
Priority: optional
Section: universe/utils
Source: pcre3
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthew Vernon
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 71
Depends: libc6 (>= 2.33), libpcre3
Replaces: pgrep (<< 4.5)
Filename: pool/universe/p/pcre3/pcregrep_8.39-13build3_amd64.deb
Size: 27680
MD5sum: 5cdcf8d5bb2780ae76f9b63b557d1c87
SHA1: 0a80b55655d4b1b0db779f9ae070d68b4ae18d8e
SHA256: b935b4735128488234a5339aa577446dc53cf6df7e2407de65f44dfc560c39bf
SHA512: b8b4aa306991b8be7aaf28271c2ce6b335a52e0c39e7346463815eda40c890b5f8c0c583d21ab165fa6a258da754feb74c671299ec7e066ce7d1cc674f4216d5
Description-en: grep utility that uses perl 5 compatible regexes.
Perl-style regexps have many useful features that the standard POSIX ones
don't; this is basically the same as grep but with the different
regexp syntax.
.
The other reason for the existence of pcregrep is that its source code is an
example of programming with libpcre.
Description-md5: b0a601c5f8b647ddc42b4beaba17e22e