How to Install and Uninstall grep.x86_64 Package on CentOS 8 / RHEL 8

Last updated: April 20,2024

1. Install "grep.x86_64" package

This guide let you learn how to install grep.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install grep.x86_64

2. Uninstall "grep.x86_64" package

This tutorial shows how to uninstall grep.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove grep.x86_64 $ sudo dnf autoremove

3. Information about the grep.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 3:30:29 ago on Sun May 9 13:03:46 2021.
Installed Packages
Name : grep
Version : 3.1
Release : 6.el8
Architecture : x86_64
Size : 816 k
Source : grep-3.1-6.el8.src.rpm
Repository : @System
From repo : anaconda
Summary : Pattern matching utilities
URL : http://www.gnu.org/software/grep/
License : GPLv3+
Description : The GNU versions of commonly used grep utilities. Grep searches through
: textual input for lines which contain a match to a specified pattern and then
: prints the matching lines. GNU's grep utilities include grep, egrep and fgrep.
:
: GNU grep is needed by many scripts, so it shall be installed on every system.