How to Install and Uninstall pcregrep Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 22,2024

1. Install "pcregrep" package

Please follow the steps below to install pcregrep on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install pcregrep

2. Uninstall "pcregrep" package

Please follow the step by step instructions below to uninstall pcregrep on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the pcregrep package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: pcregrep
Priority: optional
Section: universe/utils
Installed-Size: 62
Maintainer: Ubuntu Developers
Original-Maintainer: Matthew Vernon
Architecture: amd64
Source: pcre3
Version: 2:8.38-3.1
Replaces: pgrep (<< 4.5)
Depends: libc6 (>= 2.4), libpcre3
Filename: pool/universe/p/pcre3/pcregrep_8.38-3.1_amd64.deb
Size: 27196
MD5sum: 16b8143b06318c20204908f687cdebe8
SHA1: ac06bb5beac42e4ab85cf0fca4a7892287910096
SHA256: d6afe2e4a5c34a42cd64669be81a166894c8bc69a2d9e2fe4ba95d70f7096675
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
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu