How To Install maven-wagon-http on Rocky Linux 8

In this tutorial we learn how to install maven-wagon-http on Rocky Linux 8. maven-wagon-http is http module for maven-wagon

Introduction

In this tutorial we learn how to install maven-wagon-http on Rocky Linux 8.

What is maven-wagon-http

http module for maven-wagon.

We can use yum or dnf to install maven-wagon-http on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install maven-wagon-http.

Install maven-wagon-http on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install maven-wagon-http using dnf by running the following command:

sudo dnf -y install maven-wagon-http

Install maven-wagon-http on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install maven-wagon-http using yum by running the following command:

sudo yum -y install maven-wagon-http

How To Uninstall maven-wagon-http on Rocky Linux 8

To uninstall only the maven-wagon-http package we can use the following command:

sudo dnf remove maven-wagon-http

maven-wagon-http Package Contents on Rocky Linux 8

/usr/share/java/maven-wagon
/usr/share/java/maven-wagon/http.jar
/usr/share/maven-metadata/maven-wagon-wagon-http.xml
/usr/share/maven-poms/maven-wagon
/usr/share/maven-poms/maven-wagon/http.pom

References

Summary

In this tutorial we learn how to install maven-wagon-http on Rocky Linux 8 using yum and dnf.