How To Install libqtwebkit-qmlwebkitplugin on Ubuntu 18.04

In this tutorial we learn how to install libqtwebkit-qmlwebkitplugin on Ubuntu 18.04. libqtwebkit-qmlwebkitplugin is Qt WebKit QML plugin

Introduction

In this tutorial we learn how to install libqtwebkit-qmlwebkitplugin on Ubuntu 18.04.

What is libqtwebkit-qmlwebkitplugin

libqtwebkit-qmlwebkitplugin is:

QtWebKit provides a Web browser engine that makes it easy to embed content from the World Wide Web into your Qt application.

This package contains the WebKit QML plugin for QtDeclarative.

There are three methods to install libqtwebkit-qmlwebkitplugin on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libqtwebkit-qmlwebkitplugin Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libqtwebkit-qmlwebkitplugin using apt-get by running the following command:

sudo apt-get -y install libqtwebkit-qmlwebkitplugin

Install libqtwebkit-qmlwebkitplugin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libqtwebkit-qmlwebkitplugin using apt by running the following command:

sudo apt -y install libqtwebkit-qmlwebkitplugin

Install libqtwebkit-qmlwebkitplugin Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libqtwebkit-qmlwebkitplugin using aptitude by running the following command:

sudo aptitude -y install libqtwebkit-qmlwebkitplugin

How To Uninstall libqtwebkit-qmlwebkitplugin on Ubuntu 18.04

To uninstall only the libqtwebkit-qmlwebkitplugin package we can use the following command:

sudo apt-get remove libqtwebkit-qmlwebkitplugin

Uninstall libqtwebkit-qmlwebkitplugin And Its Dependencies

To uninstall libqtwebkit-qmlwebkitplugin and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libqtwebkit-qmlwebkitplugin

Remove libqtwebkit-qmlwebkitplugin Configurations and Data

To remove libqtwebkit-qmlwebkitplugin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libqtwebkit-qmlwebkitplugin

Remove libqtwebkit-qmlwebkitplugin configuration, data, and all of its dependencies

We can use the following command to remove libqtwebkit-qmlwebkitplugin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libqtwebkit-qmlwebkitplugin

References

Summary

In this tutorial we learn how to install libqtwebkit-qmlwebkitplugin package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.