How to Install and Uninstall grep Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 14,2024

1. Install "grep" package

Please follow the step by step instructions below to install grep on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install grep

2. Uninstall "grep" package

Please follow the instructions below to uninstall grep on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the grep package on Ubuntu 20.10 (Groovy Gorilla)

Package: grep
Architecture: amd64
Version: 3.4-1
Multi-Arch: foreign
Priority: required
Essential: yes
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Anibal Monsalve Salazar
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 496
Provides: rgrep
Pre-Depends: libc6 (>= 2.14), libpcre3
Depends: dpkg (>= 1.15.4) | install-info
Suggests: libpcre3 (>= 7.7)
Conflicts: rgrep
Filename: pool/main/g/grep/grep_3.4-1_amd64.deb
Size: 150796
MD5sum: 553f4366c8ea8fce16dae5a1e4eda042
SHA1: 16246b61ed4f5f105881155f097d52a27dbb7ae5
SHA256: ca498008bc57c2ccb26c5b467322cd5abbb458e2dd545658d8aef4490ee931de
SHA512: 8c3436c2ae8d6f3443ad4ee418843fdd77b7abb9a5bc844eee5fa1be51ed416dc8f72f0fb04185e22cf1d2ce6d7ae7de5abbaef2310f637b1cea9d6c3b2c4648
Homepage: http://www.gnu.org/software/grep/
Description-en: 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: f9188c5583d41955f3b3fe60b9d445f1
Task: minimal