How To Install gprconfig-kb on Kali Linux

In this tutorial we learn how to install gprconfig-kb on Kali Linux. gprconfig-kb is compiler list for the gprbuild build tool

Introduction

In this tutorial we learn how to install gprconfig-kb on Kali Linux.

What is gprconfig-kb

gprconfig-kb is:

A set of tools for processing GNAT project files: gprconfig detects available compilers, gprbuild runs them; gprslave helps distributing the build work across the network; gprinstall copies the objects to their final destination; gprclean removes them. The default configuration supports Ada, Assembler, C, C++, Fortran, and can be extended to support user source processing tools.

This package contains the knowledge base used by gprconfig during detection of the available compilers and linkers.

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

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

sudo apt-get update

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

sudo apt-get -y install gprconfig-kb

Install gprconfig-kb Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gprconfig-kb

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

sudo aptitude -y install gprconfig-kb

How To Uninstall gprconfig-kb on Kali Linux

To uninstall only the gprconfig-kb package we can use the following command:

sudo apt-get remove gprconfig-kb

Uninstall gprconfig-kb And Its Dependencies

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

sudo apt-get -y autoremove gprconfig-kb

Remove gprconfig-kb Configurations and Data

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

sudo apt-get -y purge gprconfig-kb

Remove gprconfig-kb configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gprconfig-kb

Dependencies

gprconfig-kb have the following dependencies:

References

Summary

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