How to Install and Uninstall grep Package on Debian 11 (Bullseye)

Last updated: May 07,2024

1. Install "grep" package

Learn how to install grep on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install grep

2. Uninstall "grep" package

In this section, we are going to explain the necessary steps to uninstall grep on Debian 11 (Bullseye):

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

3. Information about the grep package on Debian 11 (Bullseye)

Package: grep
Version: 3.6-1
Essential: yes
Installed-Size: 1091
Maintainer: Anibal Monsalve Salazar
Architecture: amd64
Provides: rgrep
Depends: dpkg (>= 1.15.4) | install-info
Pre-Depends: libc6 (>= 2.14), libpcre3
Suggests: libpcre3 (>= 7.7)
Conflicts: rgrep
Description: GNU grep, egrep and fgrep
Description-md5: f9188c5583d41955f3b3fe60b9d445f1
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.6-1_amd64.deb
Size: 397932
MD5sum: 45b92159e7188726f884c97548c74914
SHA256: 6f1253ce11b0b8372bf5bfd88962138796a0e596fa82caad83601bb1e9a0e889