How To Install pywebkitgtk on CentOS 7

In this tutorial we learn how to install pywebkitgtk on CentOS 7. pywebkitgtk is Python Bindings for WebKit-gtk

Introduction

In this tutorial we learn how to install pywebkitgtk on CentOS 7.

What is pywebkitgtk

The purpose of pywebkitgtk is to bring an alternative web engine to Python/GTK+ application developers who might need a web browser engine for their next application or developers wishing to have a better browser engine that they can access to using the Python programming language.

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

Install pywebkitgtk on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install pywebkitgtk using yum by running the following command:

sudo yum -y install pywebkitgtk

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

sudo dnf -y install pywebkitgtk

How To Uninstall pywebkitgtk on CentOS 7

To uninstall only the pywebkitgtk package we can use the following command:

sudo dnf remove pywebkitgtk

References

Summary

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