How To Install python3-wxpython4-webview on Fedora 36

In this tutorial we learn how to install python3-wxpython4-webview in Fedora 36. python3-wxpython4-webview is New implementation of wxPython, a GUI toolkit for Python (webview module)

Introduction

In this tutorial we learn how to install python3-wxpython4-webview on Fedora 36.

What is python3-wxpython4-webview

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.html2 module.

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

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

sudo dnf -y install python3-wxpython4-webview

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

sudo yum -y install python3-wxpython4-webview

How To Uninstall python3-wxpython4-webview on Fedora 36

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

sudo dnf remove python3-wxpython4-webview

python3-wxpython4-webview Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ff/dbb48d9adef4c436de5d4f4772a81c927b7c0f
/usr/lib64/python3.10/site-packages/wx/__pycache__/html2.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/wx/__pycache__/html2.cpython-310.pyc
/usr/lib64/python3.10/site-packages/wx/_html2.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/wx/html2.py
/usr/lib64/python3.10/site-packages/wx/html2.pyi

References

Summary

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