How To Install python-vsgui on Debian 9

In this tutorial we learn how to install python-vsgui on Debian 9. python-vsgui is Very Simple Graphical library for Python shell script

Introduction

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

What is python-vsgui

python-vsgui is:

python-vsgui provides simple functions to communicate with zenity which is a program that will display GTK+ dialogs, and return (either in the return code, or on standard output) the users input and convert to Python data type if need.

This allows you to present information, and ask for information from the user, from all of Python shell scripts.

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

sudo apt-get -y install python-vsgui

Install python-vsgui Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-vsgui

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

sudo aptitude -y install python-vsgui

How To Uninstall python-vsgui on Debian 9

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

sudo apt-get remove python-vsgui

Uninstall python-vsgui And Its Dependencies

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

sudo apt-get -y autoremove python-vsgui

Remove python-vsgui Configurations and Data

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

sudo apt-get -y purge python-vsgui

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

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

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

Dependencies

python-vsgui have the following dependencies:

References

Summary

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