runantlr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
runantlr: command not found
or when using sudo you get the following error message
sudo: runantlr: command not found
Solutions to runantlr: command not found
How To Fix runantlr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu runantlr is provided by antlr package.
antlr 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 antlr
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install antlr.
sudo apt -y install antlr
Or if you have aptitude installed you can use the following command.
sudo aptitude install antlr
Summary
In this tutorial we learn how to fix runantlr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.