How To Install libqt5webenginewidgets5 on Ubuntu 20.04

In this tutorial we learn how to install libqt5webenginewidgets5 on Ubuntu 20.04. libqt5webenginewidgets5 is Web content engine library for Qt - Widget Web content engine library for Qt - Widget

Introduction

In this tutorial we learn how to install libqt5webenginewidgets5 on Ubuntu 20.04.

What is libqt5webenginewidgets5

libqt5webenginewidgets5 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 widget QtWebEngine library. Task: kubuntu-desktop, lubuntu-desktop, ubuntustudio-publishing

Package: libqt5webenginewidgets5 Architecture: amd64 Version: 5.12.8+dfsg-0ubuntu1 Multi-Arch: same Priority: optional Section: universe/libs Source: qtwebengine-opensource-src Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Qt/KDE Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 865 Depends: libqt5webengine-data (= 5.12.8+dfsg-0ubuntu1), libc6 (>= 2.14), libqt5core5a (>= 5.12.8+dfsg~), libqt5gui5 (>= 5.12.8+dfsg~) | libqt5gui5-gles (>= 5.12.8+dfsg~), libqt5network5 (>= 5.12.8+dfsg~), libqt5printsupport5 (>= 5.12.8+dfsg~), libqt5quick5 (>= 5.9.0~beta) | libqt5quick5-gles (>= 5.9.0~beta), libqt5quickwidgets5 (>= 5.11.0), libqt5webenginecore5 (>= 5.12.5), libqt5widgets5 (>= 5.12.8+dfsg~), libstdc++6 (>= 5) Filename: pool/universe/q/qtwebengine-opensource-src/libqt5webenginewidgets5_5.12.8+dfsg-0ubuntu1_amd64.deb Size: 131820 MD5sum: 2af5a874199047be97d8ebfa1f5bf775 SHA1: 9de7cdf92bd5a97efa216da61a252eb15e31c0fd SHA256: f3aad16fb57572844ebc575db87a81a01b17746814edc87936caff96b29217ee Homepage: https://doc.qt.io/qt-5/qtwebengine-index.html Description-en: Web content engine library for Qt - Widget 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 widget QtWebEngine library. Task: kubuntu-desktop, lubuntu-desktop, ubuntustudio-publishing

There are three methods to install libqt5webenginewidgets5 on Ubuntu 20.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 libqt5webenginewidgets5 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libqt5webenginewidgets5

Install libqt5webenginewidgets5 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libqt5webenginewidgets5 using apt by running the following command:

sudo apt -y install libqt5webenginewidgets5

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

sudo aptitude -y install libqt5webenginewidgets5

How To Uninstall libqt5webenginewidgets5 on Ubuntu 20.04

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

sudo apt-get remove libqt5webenginewidgets5

Uninstall libqt5webenginewidgets5 And Its Dependencies

To uninstall libqt5webenginewidgets5 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libqt5webenginewidgets5

Remove libqt5webenginewidgets5 Configurations and Data

To remove libqt5webenginewidgets5 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libqt5webenginewidgets5

Remove libqt5webenginewidgets5 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libqt5webenginewidgets5

References

Summary

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