How To Install libqt5webenginecore5 on Ubuntu 20.04

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

Introduction

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

What is libqt5webenginecore5

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

Package: libqt5webenginecore5 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: 111772 Provides: qtwebengine-abi-5-12-8 Depends: libqt5webengine-data (= 5.12.8+dfsg-0ubuntu1), libasound2 (>= 1.0.16), libavcodec58 (>= 7:4.2), libavformat58 (>= 7:4.1), libavutil56 (>= 7:4.0), libc6 (>= 2.29), libdbus-1-3 (>= 1.9.14), libevent-2.1-7 (>= 2.1.8-stable), libexpat1 (>= 2.0.1), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.3.9), libgcc-s1 (>= 4.0), libharfbuzz0b (>= 1.6.0), libicu66 (>= 66.1-1~), libjpeg8 (>= 8c), liblcms2-2 (>= 2.2+git20110628), libminizip1 (>= 1.1), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libopus0 (>= 1.1), libpng16-16 (>= 1.6.2-1), libqt5core5a (>= 5.12.8+dfsg~), libqt5gui5 (>= 5.12.8+dfsg~) | libqt5gui5-gles (>= 5.12.8+dfsg~), libqt5network5 (>= 5.12.8+dfsg~), libqt5positioning5 (>= 5.12.8+dfsg~), libqt5quick5 (>= 5.9.0) | libqt5quick5-gles (>= 5.9.0), libqt5webchannel5 (>= 5.12.8~), libre2-5 (>= 20160901), libsnappy1v5 (>= 1.1.8), libstdc++6 (>= 9), libvpx6 (>= 1.8), libwebp6 (>= 0.5.1), libwebpdemux2 (>= 0.5.1), libwebpmux3 (>= 0.6.1-2), libx11-6, libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), libxss1, qtbase-abi-5-12-8, zlib1g (>= 1:1.2.0) Breaks: libqt5webengine5 (« 5.7.1+dfsg-4) Replaces: libqt5webengine5 (« 5.7.1+dfsg-4) Filename: pool/universe/q/qtwebengine-opensource-src/libqt5webenginecore5_5.12.8+dfsg-0ubuntu1_amd64.deb Size: 32177424 MD5sum: 54ef0c7b188fd6d76c8134d8ed3804dc SHA1: 48891dea7508b64eba3574e913b84388fef37225 SHA256: 407243d59b5ff0c3a562f5da51308091e140bd3af97dee480f5d6373db96d5cc Homepage: https://doc.qt.io/qt-5/qtwebengine-index.html Description-en: Web content engine library for Qt - Core 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 core QtWebEngine library. Task: kubuntu-desktop, lubuntu-desktop, ubuntustudio-publishing

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

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

sudo apt-get update

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

sudo apt-get -y install libqt5webenginecore5

Install libqt5webenginecore5 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqt5webenginecore5

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

sudo aptitude -y install libqt5webenginecore5

How To Uninstall libqt5webenginecore5 on Ubuntu 20.04

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

sudo apt-get remove libqt5webenginecore5

Uninstall libqt5webenginecore5 And Its Dependencies

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

sudo apt-get -y autoremove libqt5webenginecore5

Remove libqt5webenginecore5 Configurations and Data

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

sudo apt-get -y purge libqt5webenginecore5

Remove libqt5webenginecore5 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libqt5webenginecore5

References

Summary

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