How to Install and Uninstall log4j.noarch Package on CentOS Stream 9

Last updated: June 30,2024

1. Install "log4j.noarch" package

This guide let you learn how to install log4j.noarch on CentOS Stream 9

$ sudo dnf update $ sudo dnf install log4j.noarch

2. Uninstall "log4j.noarch" package

Please follow the steps below to uninstall log4j.noarch on CentOS Stream 9:

$ sudo dnf remove log4j.noarch $ sudo dnf autoremove

3. Information about the log4j.noarch package on CentOS Stream 9

Last metadata expiration check: 0:15:45 ago on Sat Mar 16 16:03:45 2024.
Available Packages
Name : log4j
Version : 2.17.2
Release : 1.el9
Architecture : noarch
Size : 1.9 M
Source : log4j-2.17.2-1.el9.src.rpm
Repository : appstream
Summary : Java logging package
URL : https://logging.apache.org/log4j
License : ASL 2.0
Description : Log4j is a tool to help the programmer output log statements to a
: variety of output targets.