How To Install antlr-maven-plugin on Fedora 36

In this tutorial we learn how to install antlr-maven-plugin in Fedora 36. antlr-maven-plugin is Maven plugin that generates files based on grammar file(s)

Introduction

In this tutorial we learn how to install antlr-maven-plugin on Fedora 36.

What is antlr-maven-plugin

The Antlr Plugin has two goals - antlr file(s). - antlr

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

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

sudo dnf -y install antlr-maven-plugin

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

sudo yum -y install antlr-maven-plugin

How To Uninstall antlr-maven-plugin on Fedora 36

To uninstall only the antlr-maven-plugin package we can use the following command:

sudo dnf remove antlr-maven-plugin

antlr-maven-plugin Package Contents on Fedora 36

/usr/share/java/antlr-maven-plugin.jar
/usr/share/maven-metadata/antlr-maven-plugin.xml
/usr/share/maven-poms/antlr-maven-plugin.pom

References

Summary

In this tutorial we learn how to install antlr-maven-plugin on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).