How to Install and Uninstall log4j Package on openSUSE Leap

Last updated: June 26,2024

1. Install "log4j" package

In this section, we are going to explain the necessary steps to install log4j on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install log4j

2. Uninstall "log4j" package

In this section, we are going to explain the necessary steps to uninstall log4j on openSUSE Leap:

$ sudo zypper remove log4j

3. Information about the log4j package on openSUSE Leap

Information for package log4j:
------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : log4j
Version : 2.17.2-150200.4.27.45
Arch : noarch
Vendor : SUSE LLC
Installed Size : 2.6 MiB
Installed : No
Status : not installed
Source package : log4j-2.17.2-150200.4.27.45.src
Upstream URL : http://logging.apache.org/log4j
Summary : Java logging package
Description :
Log4j is a tool to help the programmer output log statements to a
variety of output targets.