How To Install python2-easygui on Rocky Linux 8

In this tutorial we learn how to install python2-easygui on Rocky Linux 8. python2-easygui is Very simple, very easy GUI programming in Python

Introduction

In this tutorial we learn how to install python2-easygui on Rocky Linux 8.

What is python2-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. EasyGUI is different from other GUIs in that EasyGUI is NOT event-driven. It allows you to program in a traditional linear fashion, and to put up dialogs for simple input and output when you need to. If you have not yet learned the event-driven paradigm for GUI programming, EasyGUI will allow you to be productive with very basic tasks immediately. Later, if you wish to make the transition to an event-driven GUI paradigm, you can do so with a more powerful GUI package such as anygui, PythonCard, Tkinter, wxPython, etc.

We can use yum or dnf to install python2-easygui on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python2-easygui.

Install python2-easygui on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python2-easygui using dnf by running the following command:

sudo dnf -y install python2-easygui

Install python2-easygui on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python2-easygui

How To Uninstall python2-easygui on Rocky Linux 8

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

sudo dnf remove python2-easygui

python2-easygui Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/easygui-0.96-py2.7.egg-info
/usr/lib/python2.7/site-packages/easygui.py
/usr/lib/python2.7/site-packages/easygui.pyc
/usr/lib/python2.7/site-packages/easygui.pyo
/usr/share/doc/python2-easygui
/usr/share/doc/python2-easygui/cookbook
/usr/share/doc/python2-easygui/cookbook/index.html
/usr/share/doc/python2-easygui/easygui-LICENSE.txt
/usr/share/doc/python2-easygui/easygui_license_info.txt
/usr/share/doc/python2-easygui/easygui_pydoc.html
/usr/share/doc/python2-easygui/easygui_version_info.html
/usr/share/doc/python2-easygui/epydoc
/usr/share/doc/python2-easygui/epydoc/api-objects.txt
/usr/share/doc/python2-easygui/epydoc/class-tree.html
/usr/share/doc/python2-easygui/epydoc/crarr.png
/usr/share/doc/python2-easygui/epydoc/easygui-module.html
/usr/share/doc/python2-easygui/epydoc/easygui-pysrc.html
/usr/share/doc/python2-easygui/epydoc/easygui.EgStore-class.html
/usr/share/doc/python2-easygui/epydoc/easygui.FileTypeObject-class.html
/usr/share/doc/python2-easygui/epydoc/epydoc.css
/usr/share/doc/python2-easygui/epydoc/epydoc.js
/usr/share/doc/python2-easygui/epydoc/frames.html
/usr/share/doc/python2-easygui/epydoc/help.html
/usr/share/doc/python2-easygui/epydoc/identifier-index.html
/usr/share/doc/python2-easygui/epydoc/index.html
/usr/share/doc/python2-easygui/epydoc/module-tree.html
/usr/share/doc/python2-easygui/epydoc/redirect.html
/usr/share/doc/python2-easygui/epydoc/toc-easygui-module.html
/usr/share/doc/python2-easygui/epydoc/toc-everything.html
/usr/share/doc/python2-easygui/epydoc/toc.html
/usr/share/doc/python2-easygui/faq
/usr/share/doc/python2-easygui/faq/index.html
/usr/share/doc/python2-easygui/pydoc
/usr/share/doc/python2-easygui/pydoc/easygui_pydoc.html
/usr/share/doc/python2-easygui/tutorial
/usr/share/doc/python2-easygui/tutorial/gallery.html
/usr/share/doc/python2-easygui/tutorial/index.html
/usr/share/doc/python2-easygui/tutorial/python-logo.gif
/usr/share/doc/python2-easygui/tutorial/screenshot2.png
/usr/share/doc/python2-easygui/tutorial/screenshot3.png
/usr/share/doc/python2-easygui/tutorial/screenshot4.png
/usr/share/doc/python2-easygui/tutorial/screenshot_buttonbox-with-image.gif
/usr/share/doc/python2-easygui/tutorial/screenshot_buttonbox_with_image.png
/usr/share/doc/python2-easygui/tutorial/screenshot_ccbox.png
/usr/share/doc/python2-easygui/tutorial/screenshot_choicebox.png
/usr/share/doc/python2-easygui/tutorial/screenshot_choicebox_icecream.png
/usr/share/doc/python2-easygui/tutorial/screenshot_choicebox_monofonts_and_exit_button.gif
/usr/share/doc/python2-easygui/tutorial/screenshot_choicebox_with_multiple_buttons.gif
/usr/share/doc/python2-easygui/tutorial/screenshot_codebox_vista.png
/usr/share/doc/python2-easygui/tutorial/screenshot_exceptionbox_vista.png
/usr/share/doc/python2-easygui/tutorial/screenshot_fileopenbox_vista.png
/usr/share/doc/python2-easygui/tutorial/screenshot_msgbox.png
/usr/share/doc/python2-easygui/tutorial/screenshot_multchoicebox.png
/usr/share/doc/python2-easygui/tutorial/screenshot_multenterbox.png
/usr/share/doc/python2-easygui/tutorial/screenshot_multenterbox_vista.png
/usr/share/doc/python2-easygui/tutorial/screenshot_passwordbox.png

References

Summary

In this tutorial we learn how to install python2-easygui on Rocky Linux 8 using yum and dnf.