How to Install and Uninstall grep Package on Kali Linux

Last updated: May 08,2024

1. Install "grep" package

Please follow the steps below to install grep on Kali Linux

$ sudo apt update $ sudo apt install grep

2. Uninstall "grep" package

Please follow the steps below to uninstall grep on Kali Linux:

$ sudo apt remove grep $ sudo apt autoclean && sudo apt autoremove

3. Information about the grep package on Kali Linux

Package: grep
Version: 3.11-4
Essential: yes
Installed-Size: 1266
Maintainer: Anibal Monsalve Salazar
Architecture: amd64
Provides: rgrep
Pre-Depends: libc6 (>= 2.34), libpcre2-8-0 (>= 10.32)
Conflicts: rgrep
Size: 431488
SHA256: 2d78ed07d86a530ebf538f05cb2415f37c8daf908596bc32fc2563cc7e88c55a
SHA1: acab56dcc116f8299c197dff8e071559a4c0cbf9
MD5sum: 1f47b207c6d08b310fe88ec3576cdf80
Description: GNU grep, egrep and fgrep
'grep' is a utility to search for text in files; it can be used from the
command line or in scripts. Even if you don't want to use it, other packages
on your system probably will.
.
The GNU family of grep utilities may be the "fastest grep in the west".
GNU grep is based on a fast lazy-state deterministic matcher (about
twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper
search for a fixed string that eliminates impossible text from being
considered by the full regexp matcher without necessarily having to
look at every character. The result is typically many times faster
than Unix grep or egrep. (Regular expressions containing backreferencing
will run more slowly, however.)
Description-md5:
Multi-Arch: foreign
Homepage: https://www.gnu.org/software/grep/
Tag: implemented-in::c, interface::commandline, role::program,
scope::utility, suite::gnu, use::filtering, use::searching,
works-with::file, works-with::text
Section: utils
Priority: required
Filename: pool/main/g/grep/grep_3.11-4_amd64.deb