How to Install and Uninstall grep Package on openSUSE Leap

Last updated: November 26,2024

1. Install "grep" package

This is a short guide on how to install grep on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install grep

2. Uninstall "grep" package

This guide covers the steps necessary to uninstall grep on openSUSE Leap:

$ sudo zypper remove grep

3. Information about the grep package on openSUSE Leap

Information for package grep:
-----------------------------
Repository : Main Repository
Name : grep
Version : 3.1-150000.4.6.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 873.6 KiB
Installed : Yes (automatically)
Status : up-to-date
Source package : grep-3.1-150000.4.6.1.src
Upstream URL : https://www.gnu.org/software/grep/
Summary : Print lines matching a pattern
Description :
The grep command searches one or more input files for lines containing a
match to a specified pattern. By default, grep prints the matching lines.