How to Install and Uninstall log4j.noarch Package on Amazon Linux 2

Last updated: November 26,2024

1. Install "log4j.noarch" package

This guide let you learn how to install log4j.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install log4j.noarch

2. Uninstall "log4j.noarch" package

Here is a brief guide to show you how to uninstall log4j.noarch on Amazon Linux 2:

$ sudo yum remove log4j.noarch $ sudo yum autoremove

3. Information about the log4j.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : log4j
Arch : noarch
Version : 1.2.17
Release : 18.amzn2
Size : 446 k
Repo : amzn2-core/2/x86_64
Summary : Java logging package
URL : http://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.