How To Install libqt5webengine5 on Ubuntu 20.04

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

Introduction

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

What is libqt5webengine5

libqt5webengine5 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 QtWebEngine library. Task: kubuntu-desktop, kubuntu-full, ubuntustudio-publishing

Package: libqt5webengine5 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: 1067 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~), libqt5qml5 (>= 5.1.0), libqt5quick5 (>= 5.9.0~beta) | libqt5quick5-gles (>= 5.9.0~beta), libqt5test5 (>= 5.12.8+dfsg~), libqt5webchannel5 (>= 5.12.8~), libqt5webenginecore5 (>= 5.12.5), libstdc++6 (>= 5), qtbase-abi-5-12-8 Filename: pool/universe/q/qtwebengine-opensource-src/libqt5webengine5_5.12.8+dfsg-0ubuntu1_amd64.deb Size: 170384 MD5sum: 2c94d1e83da653ce7b77b3751e0edbc7 SHA1: af913e48d9b8e9f59c81f222c5e3a062e94d6eaf SHA256: ee7f0e661f1b105a15f9dcfe7547cc17664c48b5f0bfa8851727d5efc6fefea9 Homepage: https://doc.qt.io/qt-5/qtwebengine-index.html Description-en: Web content engine library for Qt 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 QtWebEngine library. Task: kubuntu-desktop, kubuntu-full, ubuntustudio-publishing

There are three methods to install libqt5webengine5 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 libqt5webengine5 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libqt5webengine5

Install libqt5webengine5 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqt5webengine5

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

sudo aptitude -y install libqt5webengine5

How To Uninstall libqt5webengine5 on Ubuntu 20.04

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

sudo apt-get remove libqt5webengine5

Uninstall libqt5webengine5 And Its Dependencies

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

sudo apt-get -y autoremove libqt5webengine5

Remove libqt5webengine5 Configurations and Data

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

sudo apt-get -y purge libqt5webengine5

Remove libqt5webengine5 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libqt5webengine5

References

Summary

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