How To Install python-bottle-doc on Debian 11

In this tutorial we learn how to install python-bottle-doc on Debian 11. python-bottle-doc is fast and simple WSGI-framework for Python - documentation

Introduction

In this tutorial we learn how to install python-bottle-doc on Debian 11.

What is python-bottle-doc

python-bottle-doc is:

Bottle is a fast and simple WSGI-framework for the Python programming language. It offers request dispatching with url parameter support (routes), templates, key/value databases, a built-in HTTP server and adapters for many third party WSGI/HTTP-server and template engines.

This package contains the Python module documentation.

There are three methods to install python-bottle-doc on Debian 11. 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-bottle-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 python-bottle-doc using apt-get by running the following command:

sudo apt-get -y install python-bottle-doc

Install python-bottle-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-bottle-doc

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

sudo aptitude -y install python-bottle-doc

How To Uninstall python-bottle-doc on Debian 11

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

sudo apt-get remove python-bottle-doc

Uninstall python-bottle-doc And Its Dependencies

To uninstall python-bottle-doc and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove python-bottle-doc

Remove python-bottle-doc Configurations and Data

To remove python-bottle-doc configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge python-bottle-doc

Remove python-bottle-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-bottle-doc

Dependencies

python-bottle-doc have the following dependencies:

References

Summary

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