How To Install python-easygui on Debian 10

Learn how to install python-easygui on Debian 10 with this tutorial. python-easygui is module for very simple, very easy GUI programming in Python

Introduction

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

What is python-easygui

python-easygui is:

This package provides the Python modules EasyGUI. Experienced Pythonistas need support for quick and dirty GUI features. New Python programmers need GUI capabilities that don’t require any knowledge of Tkinter, frames, widgets, callbacks or lambda. This is what EasyGUI provides. Using EasyGUI, all GUI interactions are invoked by simple function calls.

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

sudo apt-get -y install python-easygui

Install python-easygui Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-easygui

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

sudo aptitude -y install python-easygui

How To Uninstall python-easygui on Debian 10

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

sudo apt-get remove python-easygui

Uninstall python-easygui And Its Dependencies

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

sudo apt-get -y autoremove python-easygui

Remove python-easygui Configurations and Data

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

sudo apt-get -y purge python-easygui

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

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

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

Dependencies

python-easygui have the following dependencies:

References

Summary

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