How To Install maven-lib on Fedora 36
Introduction
In this tutorial we learn how to install maven-lib
on Fedora 36.
What is maven-lib
Core part of Apache Maven that can be used as a library.
We can use yum
or dnf
to install maven-lib
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install maven-lib.
Install maven-lib 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 maven-lib
using dnf
by running the following command:
sudo dnf -y install maven-lib
Install maven-lib 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 maven-lib
using yum
by running the following command:
sudo yum -y install maven-lib
How To Uninstall maven-lib on Fedora 36
To uninstall only the maven-lib
package we can use the following command:
sudo dnf remove maven-lib
maven-lib Package Contents on Fedora 36
/etc/m2.conf
/etc/maven
/etc/maven/logging
/etc/maven/logging/simplelogger.properties
/etc/maven/settings.xml
/usr/share/doc/maven-lib
/usr/share/doc/maven-lib/README.md
/usr/share/java/maven
/usr/share/java/maven/maven-artifact.jar
/usr/share/java/maven/maven-builder-support.jar
/usr/share/java/maven/maven-compat.jar
/usr/share/java/maven/maven-core.jar
/usr/share/java/maven/maven-embedder.jar
/usr/share/java/maven/maven-model-builder.jar
/usr/share/java/maven/maven-model.jar
/usr/share/java/maven/maven-plugin-api.jar
/usr/share/java/maven/maven-repository-metadata.jar
/usr/share/java/maven/maven-resolver-provider.jar
/usr/share/java/maven/maven-settings-builder.jar
/usr/share/java/maven/maven-settings.jar
/usr/share/java/maven/maven-slf4j-provider.jar
/usr/share/licenses/maven-lib
/usr/share/licenses/maven-lib/LICENSE
/usr/share/licenses/maven-lib/NOTICE
/usr/share/maven
/usr/share/maven-metadata/maven.xml
/usr/share/maven-poms/maven
/usr/share/maven-poms/maven/maven-artifact.pom
/usr/share/maven-poms/maven/maven-builder-support.pom
/usr/share/maven-poms/maven/maven-compat.pom
/usr/share/maven-poms/maven/maven-core.pom
/usr/share/maven-poms/maven/maven-embedder.pom
/usr/share/maven-poms/maven/maven-model-builder.pom
/usr/share/maven-poms/maven/maven-model.pom
/usr/share/maven-poms/maven/maven-plugin-api.pom
/usr/share/maven-poms/maven/maven-repository-metadata.pom
/usr/share/maven-poms/maven/maven-resolver-provider.pom
/usr/share/maven-poms/maven/maven-settings-builder.pom
/usr/share/maven-poms/maven/maven-settings.pom
/usr/share/maven-poms/maven/maven-slf4j-provider.pom
/usr/share/maven-poms/maven/maven.pom
/usr/share/maven/bin
/usr/share/maven/bin/m2.conf
/usr/share/maven/boot
/usr/share/maven/boot/plexus-classworlds-2.6.0.jar
/usr/share/maven/conf
/usr/share/maven/conf/logging
/usr/share/maven/conf/settings.xml
/usr/share/maven/lib
/usr/share/maven/lib/cdi-api-1.1.jar
/usr/share/maven/lib/commons-cli-1.4.jar
/usr/share/maven/lib/commons-codec-1.11.jar
/usr/share/maven/lib/commons-io-2.6.jar
/usr/share/maven/lib/commons-lang3-3.8.1.jar
/usr/share/maven/lib/ext
/usr/share/maven/lib/ext/README.txt
/usr/share/maven/lib/failureaccess-1.0.1.jar
/usr/share/maven/lib/guava-27.1-jre.jar
/usr/share/maven/lib/guice-4.2.2-no_aop.jar
/usr/share/maven/lib/httpclient-4.5.12.jar
/usr/share/maven/lib/httpcore-4.4.13.jar
/usr/share/maven/lib/jakarta.inject-api-1.0.jar
/usr/share/maven/lib/jansi-2.4.0.jar
/usr/share/maven/lib/jansi-native
/usr/share/maven/lib/jansi-native/README.txt
/usr/share/maven/lib/jansi-native/libjansi.so
/usr/share/maven/lib/javax.annotation-api-1.2.jar
/usr/share/maven/lib/javax.inject-1.jar
/usr/share/maven/lib/jcl-over-slf4j-1.7.32.jar
/usr/share/maven/lib/maven-artifact-3.8.4.jar
/usr/share/maven/lib/maven-builder-support-3.8.4.jar
/usr/share/maven/lib/maven-compat-3.8.4.jar
/usr/share/maven/lib/maven-core-3.8.4.jar
/usr/share/maven/lib/maven-embedder-3.8.4.jar
/usr/share/maven/lib/maven-model-3.8.4.jar
/usr/share/maven/lib/maven-model-builder-3.8.4.jar
/usr/share/maven/lib/maven-plugin-api-3.8.4.jar
/usr/share/maven/lib/maven-repository-metadata-3.8.4.jar
/usr/share/maven/lib/maven-resolver-api-1.6.3.jar
/usr/share/maven/lib/maven-resolver-connector-basic-1.6.3.jar
/usr/share/maven/lib/maven-resolver-impl-1.6.3.jar
/usr/share/maven/lib/maven-resolver-named-locks-1.7.3.jar
/usr/share/maven/lib/maven-resolver-provider-3.8.4.jar
/usr/share/maven/lib/maven-resolver-spi-1.6.3.jar
/usr/share/maven/lib/maven-resolver-transport-wagon-1.6.3.jar
/usr/share/maven/lib/maven-resolver-util-1.6.3.jar
/usr/share/maven/lib/maven-settings-3.8.4.jar
/usr/share/maven/lib/maven-settings-builder-3.8.4.jar
/usr/share/maven/lib/maven-shared-utils-3.3.4.jar
/usr/share/maven/lib/maven-slf4j-provider-3.8.4.jar
/usr/share/maven/lib/org.eclipse.sisu.inject-0.3.5.jar
/usr/share/maven/lib/org.eclipse.sisu.plexus-0.3.5.jar
/usr/share/maven/lib/plexus-cipher-2.0.jar
/usr/share/maven/lib/plexus-component-annotations-2.1.0.jar
/usr/share/maven/lib/plexus-interpolation-1.26.jar
/usr/share/maven/lib/plexus-sec-dispatcher-2.0.jar
/usr/share/maven/lib/plexus-utils-3.3.0.jar
/usr/share/maven/lib/slf4j-api-1.7.32.jar
/usr/share/maven/lib/wagon-file-3.4.3.jar
/usr/share/maven/lib/wagon-http-3.4.3.jar
/usr/share/maven/lib/wagon-http-shared-3.4.2.jar
/usr/share/maven/lib/wagon-provider-api-3.4.3.jar
References
Summary
In this tutorial we learn how to install maven-lib
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).