How to Install and Uninstall grep Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 26,2024
Notice
You can also install and uninstall the grep on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "grep" package
Please follow the step by step instructions below to install grep on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
grep
Copied
2. Uninstall "grep" package
This guide covers the steps necessary to uninstall grep on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
grep
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the grep package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: grep
Architecture: amd64
Version: 3.7-1build1
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.34), libpcre3
Depends: dpkg (>= 1.15.4) | install-info
Suggests: libpcre3 (>= 7.7)
Conflicts: rgrep
Filename: pool/main/g/grep/grep_3.7-1build1_amd64.deb
Size: 155818
MD5sum: 72fcbe6aa2c18b540f59a1512ac62f14
SHA1: 83fa447af0f1f2c461731d62c1a3aa41ddec47cf
SHA256: 26d08b9c96962528c73c13b5c11f245b91e49edab15f73bf8705bad1472a0113
SHA512: e138549ab9643bc9af988c8ce3063e442e3d15e3f64460e6d4ac6ee8907166a96a0c166338ade30203ad78df4b99597d43cffe3510acd68e31ab044b21b6ef1b
Homepage: https://www.gnu.org/software/grep/
Description: GNU grep, egrep and fgrep
Description-md5: f9188c5583d41955f3b3fe60b9d445f1
Task: minimal
Architecture: amd64
Version: 3.7-1build1
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.34), libpcre3
Depends: dpkg (>= 1.15.4) | install-info
Suggests: libpcre3 (>= 7.7)
Conflicts: rgrep
Filename: pool/main/g/grep/grep_3.7-1build1_amd64.deb
Size: 155818
MD5sum: 72fcbe6aa2c18b540f59a1512ac62f14
SHA1: 83fa447af0f1f2c461731d62c1a3aa41ddec47cf
SHA256: 26d08b9c96962528c73c13b5c11f245b91e49edab15f73bf8705bad1472a0113
SHA512: e138549ab9643bc9af988c8ce3063e442e3d15e3f64460e6d4ac6ee8907166a96a0c166338ade30203ad78df4b99597d43cffe3510acd68e31ab044b21b6ef1b
Homepage: https://www.gnu.org/software/grep/
Description: GNU grep, egrep and fgrep
Description-md5: f9188c5583d41955f3b3fe60b9d445f1
Task: minimal