How To Install libgnatcoll-db-bin on Kali Linux
Introduction
In this tutorial we learn how to install libgnatcoll-db-bin on Kali Linux.
What is libgnatcoll-db-bin
libgnatcoll-db-bin is:
The gnatcoll-db library allows Ada programs to send SQL queries to SQLite or PostGreSQL databases.
This package contains command-line tools.
- gnatcoll_db2ada generates Ada sources depending on libngatcoll-sqlite or libgnatcoll-postgres.
- gnatinspect runs in a source tree and generate a database of cross-references.
There are three methods to install libgnatcoll-db-bin 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 libgnatcoll-db-bin Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libgnatcoll-db-bin using apt-get by running the following command:
sudo apt-get -y install libgnatcoll-db-binInstall libgnatcoll-db-bin Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libgnatcoll-db-bin using apt by running the following command:
sudo apt -y install libgnatcoll-db-binInstall libgnatcoll-db-bin 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 updateAfter updating apt database, We can install libgnatcoll-db-bin using aptitude by running the following command:
sudo aptitude -y install libgnatcoll-db-binHow To Uninstall libgnatcoll-db-bin on Kali Linux
To uninstall only the libgnatcoll-db-bin package we can use the following command:
sudo apt-get remove libgnatcoll-db-binUninstall libgnatcoll-db-bin And Its Dependencies
To uninstall libgnatcoll-db-bin and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libgnatcoll-db-binRemove libgnatcoll-db-bin Configurations and Data
To remove libgnatcoll-db-bin configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libgnatcoll-db-binRemove libgnatcoll-db-bin configuration, data, and all of its dependencies
We can use the following command to remove libgnatcoll-db-bin configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgnatcoll-db-binDependencies
libgnatcoll-db-bin have the following dependencies:
- libc6
- libgcc-s1
- libgnat-10
- libgnatcoll-iconv20
- libgnatcoll-postgres1
- libgnatcoll-sql3
- libgnatcoll-sqlite20
- libgnatcoll-xref20
- libgnatcoll19
- libgnatprj8
- libxmlada-dom7
- libxmlada-input7
- libxmlada-sax7
- libxmlada-schema7
- libxmlada-unicode7
References
Summary
In this tutorial we learn how to install libgnatcoll-db-bin package on Kali Linux using different package management tools: apt, apt-get and aptitude.