How To Install antlr-doc on Kali Linux

Hostnbit
In this tutorial we learn how to install antlr-doc on Kali Linux. antlr-doc is language tool for constructing recognizers, compilers etc

Introduction

In this tutorial we learn how to install antlr-doc on Kali Linux.

What is antlr-doc

antlr-doc is:

This package contains the documentation and examples for antlr.
ANTLR stands for ANother Tool for Language Recognition,
(formerly PCCTS). It 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].

See antlr package for a complete description

There are three methods to install antlr-doc on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install antlr-doc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install antlr-doc using apt-get by running the following command:

sudo apt-get -y install antlr-doc

Install antlr-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install antlr-doc using apt by running the following command:

sudo apt -y install antlr-doc

Install antlr-doc Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install antlr-doc using aptitude by running the following command:

sudo aptitude -y install antlr-doc

How To Uninstall antlr-doc on Kali Linux

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

sudo apt-get remove antlr-doc

Uninstall antlr-doc And Its Dependencies

To uninstall antlr-doc and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove antlr-doc

Remove antlr-doc Configurations and Data

To remove antlr-doc configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge antlr-doc

Remove antlr-doc configuration, data, and all of its dependencies

We can use the following command to remove antlr-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge antlr-doc

Dependencies

antlr-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install antlr-doc package on Kali Linux using different package management tools: apt, apt-get and aptitude.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top