How To Install asis-programs on Debian 10
Introduction
In this tutorial we learn how to install asis-programs
on Debian 10.
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 Debian 10. 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.
After updating apt database, We can install asis-programs
using apt-get
by running the following command:
Install asis-programs Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install asis-programs
using apt
by running the following command:
Install asis-programs Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
After updating apt database, We can install asis-programs
using aptitude
by running the following command:
How To Uninstall asis-programs on Debian 10
To uninstall only the asis-programs
package we can use the following command:
Uninstall asis-programs And Its Dependencies
To uninstall asis-programs
and its dependencies that are no longer needed by Debian 10, we can use the command below:
Remove asis-programs Configurations and Data
To remove asis-programs
configuration and data from Debian 10 we can use the following command:
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:
Dependencies
asis-programs have the following dependencies:
- gnat
- gnat-8
- libasis2018
- libc6
- libgnatcoll17
- libgnatvsn8
- libgpr18
- libxmlada-dom5
- libxmlada-input5
- libxmlada-sax5
- libxmlada-schema5
- libxmlada-unicode5
References
Summary
In this tutorial we learn how to install asis-programs
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.