How To Install python3-wxpython4-media on Fedora 36

In this tutorial we learn how to install python3-wxpython4-media in Fedora 36. 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 Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/dd/739cc3f1bb5271da8a82d5a51d5a7ffb3503c5
/usr/lib64/python3.10/site-packages/wx/__pycache__/media.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/wx/__pycache__/media.cpython-310.pyc
/usr/lib64/python3.10/site-packages/wx/_media.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/wx/media.py
/usr/lib64/python3.10/site-packages/wx/media.pyi

References

Summary

In this tutorial we learn how to install python3-wxpython4-media on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).