How To Install maven-wagon-http-shared on Rocky Linux 8
Introduction
In this tutorial we learn how to install maven-wagon-http-shared
on Rocky Linux 8.
What is maven-wagon-http-shared
http-shared module for maven-wagon.
We can use yum
or dnf
to install maven-wagon-http-shared
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-shared.
Install maven-wagon-http-shared 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-shared
using dnf
by running the following command:
sudo dnf -y install maven-wagon-http-shared
Install maven-wagon-http-shared 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-shared
using yum
by running the following command:
sudo yum -y install maven-wagon-http-shared
How To Uninstall maven-wagon-http-shared on Rocky Linux 8
To uninstall only the maven-wagon-http-shared
package we can use the following command:
sudo dnf remove maven-wagon-http-shared
maven-wagon-http-shared Package Contents on Rocky Linux 8
/usr/share/java/maven-wagon
/usr/share/java/maven-wagon/http-shared.jar
/usr/share/maven-metadata/maven-wagon-wagon-http-shared.xml
/usr/share/maven-poms/maven-wagon
/usr/share/maven-poms/maven-wagon/http-shared.pom
References
Summary
In this tutorial we learn how to install maven-wagon-http-shared
on Rocky Linux 8 using yum and dnf.