How To Install antlrworks on Fedora 34

antlrworks is Grammar development environment for ANTLR v3 grammars

Introduction

In this tutorial we learn how to install antlrworks on Fedora 34.

What is antlrworks

ANTLRWorks is a novel grammar development environment for ANTLR v3 grammars written by Jean Bovet (with suggested use cases from Terence Parr). It combines an excellent grammar-aware editor with an interpreter for rapid prototyping and a language-agnostic debugger for isolating grammar errors. ANTLRWorks helps eliminate grammar nondeterminisms, one of the most difficult problems for beginners and experts alike, by highlighting nondeterministic paths in the syntax diagram associated with a grammar. ANTLRWorks’ goal is to make grammars more accessible to the average programmer, improve maintainability and readability of grammars by providing excellent grammar navigation and refactoring tools, and address the most common questions and problems encountered by grammar developers.

We can use yum or dnf to install antlrworks on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install antlrworks.

Install antlrworks on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install antlrworks using dnf by running the following command:

sudo dnf -y install antlrworks

Install antlrworks on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install antlrworks using yum by running the following command:

sudo yum -y install antlrworks

How To Uninstall antlrworks on Fedora 34

To uninstall only the antlrworks package we can use the following command:

sudo dnf remove antlrworks

antlrworks Package Contents on Fedora 34

/usr/bin/antlrworks
/usr/lib/java/antlrworks
/usr/lib/java/antlrworks/antlrworks.jar
/usr/share/appdata/antlrworks.appdata.xml
/usr/share/applications/antlrworks.desktop
/usr/share/doc/antlrworks
/usr/share/doc/antlrworks/History.txt
/usr/share/icons/hicolor/128x128/apps/antlrworks.png
/usr/share/icons/hicolor/16x16/apps/antlrworks.png
/usr/share/icons/hicolor/32x32/apps/antlrworks.png
/usr/share/icons/hicolor/64x64/apps/antlrworks.png
/usr/share/maven-metadata/antlrworks.xml
/usr/share/maven-poms/antlrworks
/usr/share/maven-poms/antlrworks/antlrworks.pom

References

Summary

In this tutorial we learn how to install antlrworks on Fedora 34 using yum and dnf.