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

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

Introduction

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

What is maven-wagon-file

file module for maven-wagon.

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

Install maven-wagon-file 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-file using dnf by running the following command:

sudo dnf -y install maven-wagon-file

Install maven-wagon-file 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-file using yum by running the following command:

sudo yum -y install maven-wagon-file

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

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

sudo dnf remove maven-wagon-file

maven-wagon-file Package Contents on Rocky Linux 8

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

References

Summary

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