How To Install python3-wxpython4-media on Rocky Linux 8

In this tutorial we learn how to install python3-wxpython4-media on Rocky Linux 8. python3-wxpython4-media is New implementation of wxPython, a GUI toolkit for Python (media module)

Introduction

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

What is python3-wxpython4-media

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. This package provides the wx.media module.

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

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

sudo dnf -y install python3-wxpython4-media

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

sudo yum -y install python3-wxpython4-media

How To Uninstall python3-wxpython4-media on Rocky Linux 8

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

sudo dnf remove python3-wxpython4-media

python3-wxpython4-media Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/14/5f02cc3f2d92e8980c32f7056b83cba6ed9c81
/usr/lib64/python3.6/site-packages/wx/__pycache__/media.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/wx/__pycache__/media.cpython-36.pyc
/usr/lib64/python3.6/site-packages/wx/_media.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/wx/media.py
/usr/lib64/python3.6/site-packages/wx/media.pyi

References

Summary

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