How To Install python36-wxpython4 on CentOS 7

In this tutorial we learn how to install python36-wxpython4 on CentOS 7. python36-wxpython4 is New implementation of wxPython, a GUI toolkit for Python

Introduction

In this tutorial we learn how to install python36-wxpython4 on CentOS 7.

What is python36-wxpython4

wxPython4 is a is a new implementation of wxPython focused on improving speed, maintainability and extensibility. Just like “Classic” wxPython it wraps the wxWidgets C++ toolkit and provides access to the user interface portions of the wx API, enabling Python applications to have a GUI on Windows, Macs or Unix systems with a native look and feel and requiring very little (if any) platform specific code.

We can use yum or dnf to install python36-wxpython4 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python36-wxpython4.

Install python36-wxpython4 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install python36-wxpython4

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

sudo dnf -y install python36-wxpython4

How To Uninstall python36-wxpython4 on CentOS 7

To uninstall only the python36-wxpython4 package we can use the following command:

sudo dnf remove python36-wxpython4

References

Summary

In this tutorial we learn how to install python36-wxpython4 on CentOS 7 using yum and dnf.