How To Install python3-dialog on Rocky Linux 8

In this tutorial we learn how to install python3-dialog on Rocky Linux 8. python3-dialog is Python interface to the Unix dialog utility

Introduction

In this tutorial we learn how to install python3-dialog on Rocky Linux 8.

What is python3-dialog

A Python interface to the Unix dialog utility, designed to provide an easy, pythonic and as complete as possible way to use the dialog features from Python code.

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

Install python3-dialog 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 python3-dialog using dnf by running the following command:

sudo dnf -y install python3-dialog

Install python3-dialog 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 python3-dialog using yum by running the following command:

sudo yum -y install python3-dialog

How To Uninstall python3-dialog on Rocky Linux 8

To uninstall only the python3-dialog package we can use the following command:

sudo dnf remove python3-dialog

python3-dialog Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/__pycache__
/usr/lib/python3.6/site-packages/__pycache__/dialog.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/dialog.cpython-36.pyc
/usr/lib/python3.6/site-packages/dialog.py
/usr/lib/python3.6/site-packages/pythondialog-3.3.0-py3.6.egg-info
/usr/share/doc/python3-dialog
/usr/share/doc/python3-dialog/README.rst
/usr/share/doc/python3-dialog/examples
/usr/share/doc/python3-dialog/examples/demo.py
/usr/share/doc/python3-dialog/examples/simple_example.py
/usr/share/doc/python3-dialog/examples/with-autowidgetsize
/usr/share/doc/python3-dialog/examples/with-autowidgetsize/demo.py
/usr/share/doc/python3-dialog/examples/with-autowidgetsize/simple_example.py
/usr/share/licenses/python3-dialog
/usr/share/licenses/python3-dialog/COPYING

References

Summary

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