How To Install python-wicd on Debian 9

In this tutorial we learn how to install python-wicd on Debian 9. python-wicd is wired and wireless network manager - Python module

Introduction

In this tutorial we learn how to install python-wicd on Debian 9.

What is python-wicd

python-wicd is:

Wicd is a general-purpose network configuration server which aims to provide a simple but flexible interface for connecting to networks. Its features include:

  • wide variety of settings;
  • ability to connect to (and maintain profiles for) both wired and wireless networks;
  • support for many encryption schemes, including WEP, WPA, WPA2 and custom schemes;
  • wireless-tools compatibility.

This package provides the Python module used by Wicd.

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

sudo apt-get -y install python-wicd

Install python-wicd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-wicd

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

sudo aptitude -y install python-wicd

How To Uninstall python-wicd on Debian 9

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

sudo apt-get remove python-wicd

Uninstall python-wicd And Its Dependencies

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

sudo apt-get -y autoremove python-wicd

Remove python-wicd Configurations and Data

To remove python-wicd configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-wicd

Remove python-wicd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-wicd

Dependencies

python-wicd have the following dependencies:

References

Summary

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