How To Install python-pmw on CentOS 7
Introduction
In this tutorial we learn how to install python-pmw on CentOS 7.
What is python-pmw
Pmw is a toolkit for building high-level compound widgets in Python using the Tkinter module. It consists of a set of base classes and a library of flexible and extensible megawidgets built on this foundation. These megawidgets include notebooks, comboboxes, selection widgets, paned widgets, scrolled widgets and dialog windows.
We can use yum or dnf to install python-pmw on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-pmw.
Install python-pmw on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install python-pmw using yum by running the following command:
sudo yum -y install python-pmw
Install python-pmw on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install python-pmw using dnf by running the following command:
sudo dnf -y install python-pmw
How To Uninstall python-pmw on CentOS 7
To uninstall only the python-pmw package we can use the following command:
sudo dnf remove python-pmw
References
Summary
In this tutorial we learn how to install python-pmw on CentOS 7 using yum and dnf.