How To Install python-sphinxcontrib.docbookrestapi on Debian 10

Learn how to install python-sphinxcontrib.docbookrestapi on Debian 10 with this tutorial. python-sphinxcontrib.docbookrestapi is generating REST API documentation for http

Introduction

In this tutorial we learn how to install python-sphinxcontrib.docbookrestapi on Debian 10.

What is python-sphinxcontrib.docbookrestapi

python-sphinxcontrib.docbookrestapi is:

This extension to Sphinx make it possible to generate REST API documentation for the OpenStack API as described in the official API web site at http://api.openstack.org/

There are three methods to install python-sphinxcontrib.docbookrestapi on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-sphinxcontrib.docbookrestapi Using apt-get

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

sudo apt-get update

After updating apt database, We can install python-sphinxcontrib.docbookrestapi using apt-get by running the following command:

sudo apt-get -y install python-sphinxcontrib.docbookrestapi

Install python-sphinxcontrib.docbookrestapi Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-sphinxcontrib.docbookrestapi using apt by running the following command:

sudo apt -y install python-sphinxcontrib.docbookrestapi

Install python-sphinxcontrib.docbookrestapi 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 python-sphinxcontrib.docbookrestapi using aptitude by running the following command:

sudo aptitude -y install python-sphinxcontrib.docbookrestapi

How To Uninstall python-sphinxcontrib.docbookrestapi on Debian 10

To uninstall only the python-sphinxcontrib.docbookrestapi package we can use the following command:

sudo apt-get remove python-sphinxcontrib.docbookrestapi

Uninstall python-sphinxcontrib.docbookrestapi And Its Dependencies

To uninstall python-sphinxcontrib.docbookrestapi and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove python-sphinxcontrib.docbookrestapi

Remove python-sphinxcontrib.docbookrestapi Configurations and Data

To remove python-sphinxcontrib.docbookrestapi configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge python-sphinxcontrib.docbookrestapi

Remove python-sphinxcontrib.docbookrestapi configuration, data, and all of its dependencies

We can use the following command to remove python-sphinxcontrib.docbookrestapi configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-sphinxcontrib.docbookrestapi

Dependencies

python-sphinxcontrib.docbookrestapi have the following dependencies:

References

Summary

In this tutorial we learn how to install python-sphinxcontrib.docbookrestapi package on Debian 10 using different package management tools: apt, apt-get and aptitude.