How to Install and Uninstall grep.x86_64 Package on Red Hat Enterprise Linux 9 (RHEL 9)

Last updated: November 27,2024

1. Install "grep.x86_64" package

In this section, we are going to explain the necessary steps to install grep.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)

$ sudo dnf update $ sudo dnf install grep.x86_64

2. Uninstall "grep.x86_64" package

Please follow the steps below to uninstall grep.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9):

$ sudo dnf remove grep.x86_64 $ sudo dnf autoremove

3. Information about the grep.x86_64 package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 0:35:26 ago on Mon Feb 26 07:04:30 2024.
Installed Packages
Name : grep
Version : 3.6
Release : 5.el9
Architecture : x86_64
Size : 838 k
Source : grep-3.6-5.el9.src.rpm
Repository : @System
Summary : Pattern matching utilities
URL : https://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.