antlr3 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
antlr3: command not found
or when using sudo you get the following error message
sudo: antlr3: command not found
Solutions to antlr3: command not found
How To Fix antlr3: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu antlr3 is provided by antlr3 package.
antlr3 is:
ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions [You can use PCCTS 1.xx to generate C-based parsers].
Computer language translation has become a common task. While compilers and tools for traditional computer languages (such as C or Java) are still being built, their number is dwarfed by the thousands of mini-languages for which recognizers and translators are being developed. Programmers construct translators for database formats, graphical data files (e.g., PostScript, AutoCAD), text processing files (e.g., HTML, SGML). ANTLR is designed to handle all of your translation tasks.
To fix this problem, we can install more using the command below.
sudo apt-get -y install antlr3
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install antlr3.
sudo apt -y install antlr3
Or if you have aptitude installed you can use the following command.
sudo aptitude install antlr3
Summary
In this tutorial we learn how to fix antlr3 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.