How To Install python-configshell-fb on Debian 10

Learn how to install python-configshell-fb on Debian 10 with this tutorial. python-configshell-fb is Python library for building configuration shells - Python 2

Introduction

In this tutorial we learn how to install python-configshell-fb on Debian 10.

What is python-configshell-fb

python-configshell-fb is:

The configshell-fb package is a Python library that provides a framework for building simple but nice CLI-based applications.

The configshell-fb package is a fork of the “configshell” code written by RisingTide Systems. The “-fb” differentiates between the original and this version. Please ensure to use either all “fb” versions of the targetcli components – targetcli, rtslib, and configshell, or stick with all non-fb versions, since they are no longer strictly compatible.

This package contains the Python 2 module.

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

sudo apt-get -y install python-configshell-fb

Install python-configshell-fb Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-configshell-fb

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

sudo aptitude -y install python-configshell-fb

How To Uninstall python-configshell-fb on Debian 10

To uninstall only the python-configshell-fb package we can use the following command:

sudo apt-get remove python-configshell-fb

Uninstall python-configshell-fb And Its Dependencies

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

sudo apt-get -y autoremove python-configshell-fb

Remove python-configshell-fb Configurations and Data

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

sudo apt-get -y purge python-configshell-fb

Remove python-configshell-fb configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-configshell-fb

Dependencies

python-configshell-fb have the following dependencies:

References

Summary

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