How to Install and Uninstall grep Package on Debian 12 (Bookworm)

Last updated: December 27,2024

1. Install "grep" package

In this section, we are going to explain the necessary steps to install grep on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install grep

2. Uninstall "grep" package

Here is a brief guide to show you how to uninstall grep on Debian 12 (Bookworm):

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

3. Information about the grep package on Debian 12 (Bookworm)

Package: grep
Version: 3.8-5
Essential: yes
Installed-Size: 1245
Maintainer: Anibal Monsalve Salazar
Architecture: amd64
Provides: rgrep
Depends: dpkg (>= 1.15.4) | install-info
Pre-Depends: libc6 (>= 2.34), libpcre2-8-0 (>= 10.32)
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.8-5_amd64.deb
Size: 421444
MD5sum: 27b22f639181225c8c60680519f527c5
SHA256: 3264acea728df3c48a54f20e9291b965130e306b9d00adac76647049da7196df