How To Install qtwebengine5-examples on Debian 9

In this tutorial we learn how to install qtwebengine5-examples on Debian 9. qtwebengine5-examples is Qt WebEngine - Examples

Introduction

In this tutorial we learn how to install qtwebengine5-examples on Debian 9.

What is qtwebengine5-examples

qtwebengine5-examples is:

QtWebEngine 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 WebEngine examples.

There are three methods to install qtwebengine5-examples on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install qtwebengine5-examples Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install qtwebengine5-examples

Install qtwebengine5-examples Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install qtwebengine5-examples

Install qtwebengine5-examples 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install qtwebengine5-examples

How To Uninstall qtwebengine5-examples on Debian 9

To uninstall only the qtwebengine5-examples package we can use the following command:

sudo apt-get remove qtwebengine5-examples

Uninstall qtwebengine5-examples And Its Dependencies

To uninstall qtwebengine5-examples and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove qtwebengine5-examples

Remove qtwebengine5-examples Configurations and Data

To remove qtwebengine5-examples configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge qtwebengine5-examples

Remove qtwebengine5-examples configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qtwebengine5-examples

Dependencies

qtwebengine5-examples have the following dependencies:

References

Summary

In this tutorial we learn how to install qtwebengine5-examples package on Debian 9 using different package management tools: apt, apt-get and aptitude.