How To Install python3-wxpython4 on AlmaLinux 8

In this tutorial we learn how to install python3-wxpython4 in AlmaLinux 8. python3-wxpython4 is New implementation of wxPython, a GUI toolkit for Python

Introduction

In this tutorial we learn how to install python3-wxpython4 on AlmaLinux 8.

What is python3-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 python3-wxpython4 on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-wxpython4.

Install python3-wxpython4 on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-wxpython4

Install python3-wxpython4 on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-wxpython4

How To Uninstall python3-wxpython4 on AlmaLinux 8

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

sudo dnf remove python3-wxpython4

References

Summary

In this tutorial we learn how to install python3-wxpython4 on AlmaLinux 8 using yum and dnf.