How To Install apache-commons-logging on Fedora 36

In this tutorial we learn how to install apache-commons-logging in Fedora 36. apache-commons-logging is Apache Commons Logging

Introduction

In this tutorial we learn how to install apache-commons-logging on Fedora 36.

What is apache-commons-logging

The commons-logging package provides a simple, component oriented interface (org.apache.commons.logging.Log) together with wrappers for logging systems. The user can choose at runtime which system they want to use. In addition, a small number of basic implementations are provided to allow users to use the package standalone. commons-logging was heavily influenced by Avalon’s Logkit and Log4J. The commons-logging abstraction is meant to minimize the differences between the two, and to allow a developer to not tie himself to a particular logging implementation.

We can use yum or dnf to install apache-commons-logging on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install apache-commons-logging.

Install apache-commons-logging on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install apache-commons-logging using dnf by running the following command:

sudo dnf -y install apache-commons-logging

Install apache-commons-logging on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install apache-commons-logging using yum by running the following command:

sudo yum -y install apache-commons-logging

How To Uninstall apache-commons-logging on Fedora 36

To uninstall only the apache-commons-logging package we can use the following command:

sudo dnf remove apache-commons-logging

apache-commons-logging Package Contents on Fedora 36

/usr/share/doc/apache-commons-logging
/usr/share/doc/apache-commons-logging/PROPOSAL.html
/usr/share/doc/apache-commons-logging/RELEASE-NOTES.txt
/usr/share/java/apache-commons-logging-adapters.jar
/usr/share/java/apache-commons-logging-api.jar
/usr/share/java/apache-commons-logging.jar
/usr/share/java/commons-logging-adapters.jar
/usr/share/java/commons-logging-api.jar
/usr/share/java/commons-logging.jar
/usr/share/licenses/apache-commons-logging
/usr/share/licenses/apache-commons-logging/LICENSE.txt
/usr/share/licenses/apache-commons-logging/NOTICE.txt
/usr/share/maven-metadata/apache-commons-logging.xml
/usr/share/maven-poms/apache-commons-logging-api.pom
/usr/share/maven-poms/apache-commons-logging.pom
/usr/share/maven-poms/commons-logging-api.pom
/usr/share/maven-poms/commons-logging.pom

References

Summary

In this tutorial we learn how to install apache-commons-logging on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).