How To Install asis-programs on Kali Linux

In this tutorial we learn how to install asis-programs on Kali Linux. asis-programs is Ada Semantic Interface Specification (ASIS) example programs

Introduction

In this tutorial we learn how to install asis-programs on Kali Linux.

What is asis-programs

asis-programs is:

ASIS (Ada Semantic Interface Specification) lets you develop applications to walk through the sources of your Ada programs and examine the semantic constructs.

  • asistant is an interactive command-line tool to explore the ASIS parse tree of a program.
  • gnatcheck verifies the conformance of source text to coding conventions
  • gnatelim finds out unused subprograms and eliminates them.
  • gnatmetric calculates metrics such as code complexity.
  • gnatpp is a pretty-printer which reformats Ada source text according to a default or user-specified style guide.
  • gnatstub generates an empty but compilable body for a given specification.
  • gnattest creates AUnit test skeletons and harness for a project (gnattest requires the libaunit development package to be installed)

There are three methods to install asis-programs 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 asis-programs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install asis-programs

Install asis-programs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install asis-programs

Install asis-programs 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 asis-programs using aptitude by running the following command:

sudo aptitude -y install asis-programs

How To Uninstall asis-programs on Kali Linux

To uninstall only the asis-programs package we can use the following command:

sudo apt-get remove asis-programs

Uninstall asis-programs And Its Dependencies

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

sudo apt-get -y autoremove asis-programs

Remove asis-programs Configurations and Data

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

sudo apt-get -y purge asis-programs

Remove asis-programs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge asis-programs

Dependencies

asis-programs have the following dependencies:

References

Summary

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