How to Install and Uninstall log4j.noarch Package on Rocky Linux 8

Last updated: November 14,2024

1. Install "log4j.noarch" package

Please follow the guidance below to install log4j.noarch on Rocky Linux 8

$ sudo dnf update $ sudo dnf install log4j.noarch

2. Uninstall "log4j.noarch" package

Learn how to uninstall log4j.noarch on Rocky Linux 8:

$ sudo dnf remove log4j.noarch $ sudo dnf autoremove

3. Information about the log4j.noarch package on Rocky Linux 8

Last metadata expiration check: 1:58:28 ago on Mon Sep 12 10:27:18 2022.
Available Packages
Name : log4j
Version : 2.17.1
Release : 4.module+el8.6.0+895+381d2531
Architecture : noarch
Size : 1.8 M
Source : log4j-2.17.1-4.module+el8.6.0+895+381d2531.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.