How To Install sgb on Kali Linux
Introduction
In this tutorial we learn how to install sgb on Kali Linux.
What is sgb
sgb is:
A highly portable collection of programs and data for researchers who study combinatorial algorithms and data structures.
The programs are intended to be interesting in themselves as examples of literate programming. Thus, the Stanford GraphBase can also be regarded as a collection of approximately 30 essays for programmers to enjoy reading, whether or not they are doing algorithmic research. The programs are written in CWEB, a combination of TeX and C that is easy to use by anyone who knows those languages and easy to read by anyone familiar with the rudiments of C.
This package contains only the libraries and the demonstration programs; for the readable source code, which forms the documentation as well, see the sgb-doc package.
There are three methods to install sgb 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 sgb Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install sgb using apt-get by running the following command:
sudo apt-get -y install sgbInstall sgb Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install sgb using apt by running the following command:
sudo apt -y install sgbInstall sgb 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 sgb using aptitude by running the following command:
sudo aptitude -y install sgbHow To Uninstall sgb on Kali Linux
To uninstall only the sgb package we can use the following command:
sudo apt-get remove sgbUninstall sgb And Its Dependencies
To uninstall sgb and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove sgbRemove sgb Configurations and Data
To remove sgb configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge sgbRemove sgb configuration, data, and all of its dependencies
We can use the following command to remove sgb configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sgbDependencies
sgb have the following dependencies:
References
Summary
In this tutorial we learn how to install sgb package on Kali Linux using different package management tools: apt, apt-get and aptitude.