How To Install sgb-doc on Debian 12
Introduction
In this tutorial we learn how to install sgb-doc
on Debian 12.
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 Debian 12. 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 first since aptitude is usually not installed by default on Debian. 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 Debian 12
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 Debian 12, 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 Debian 12 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 Debian 12 using different package management tools: apt
, apt-get
and aptitude
.