How To Install python-configobj-doc on Debian 10

Learn how to install python-configobj-doc on Debian 10 with this tutorial. python-configobj-doc is simple but powerful config file reader and writer (documentation)

Introduction

In this tutorial we learn how to install python-configobj-doc on Debian 10.

What is python-configobj-doc

python-configobj-doc is:

ConfigObj is a simple but powerful config file reader and writer: an ini file round tripper. Its main feature is that it is very easy to use, with a straightforward programmer’s interface and a simple syntax for config files. It has lots of other features, though:

  • Nested sections (subsections), to any level
  • List values
  • Multiple line values
  • String interpolation (substitution)
  • Integrated with a powerful validation system
    • including automatic type checking/conversion
    • and allowing default values
    • repeated sections
  • All comments in the file are preserved
  • The order of keys/sections is preserved
  • Full Unicode support
  • Powerful unrepr mode for storing/retrieving Python data-types

This package includes the documentation in HTML format.

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

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

Install python-configobj-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-configobj-doc

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

sudo aptitude -y install python-configobj-doc

How To Uninstall python-configobj-doc on Debian 10

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

sudo apt-get remove python-configobj-doc

Uninstall python-configobj-doc And Its Dependencies

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

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

Remove python-configobj-doc Configurations and Data

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

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

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

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

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

Dependencies

python-configobj-doc have the following dependencies:

References

Summary

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