How To Install sgb-doc on Kali Linux

In this tutorial we learn how to install sgb-doc on Kali Linux. sgb-doc is Documentation for the Stanford GraphBase

Introduction

In this tutorial we learn how to install sgb-doc on Kali Linux.

What is sgb-doc

sgb-doc is:

This package contains the source code for the GraphBase library, which forms the major documentation of the package. It will be installed in /usr/share/doc/sgb/src.

The source code is written in CWEB, a combination of TeX and C, using a very readable literate programming style, making the code a joy to read.

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

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

sudo apt-get update

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

sudo apt-get -y install sgb-doc

Install sgb-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sgb-doc

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

sudo aptitude -y install sgb-doc

How To Uninstall sgb-doc on Kali Linux

To uninstall only the sgb-doc package we can use the following command:

sudo apt-get remove sgb-doc

Uninstall sgb-doc And Its Dependencies

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

sudo apt-get -y autoremove sgb-doc

Remove sgb-doc Configurations and Data

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

sudo apt-get -y purge sgb-doc

Remove sgb-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sgb-doc

Dependencies

sgb-doc have the following dependencies:

References

Summary

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