How To Install qtwebengine5-examples on Ubuntu 20.04
Introduction
In this tutorial we learn how to install qtwebengine5-examples
on Ubuntu 20.04.
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.
Package: qtwebengine5-examples 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: 2881 Depends: libjs-jquery, libjs-marked, qml-module-qt-labs-settings, qml-module-qtquick-controls, qml-module-qtquick-layouts, qml-module-qtquick-window2, qml-module-qtwebengine, qtwebengine5-dev-tools, 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~), libqt5qml5 (>= 5.1.0), libqt5quickcontrols2-5 (>= 5.12.8+dfsg~), libqt5webchannel5 (>= 5.12.8~), libqt5webengine5 (>= 5.7.1), libqt5webenginecore5 (>= 5.12.2), libqt5webenginewidgets5 (>= 5.12.2), libqt5widgets5 (>= 5.12.8+dfsg~), libstdc++6 (>= 5) Filename: pool/universe/q/qtwebengine-opensource-src/qtwebengine5-examples_5.12.8+dfsg-0ubuntu1_amd64.deb Size: 652624 MD5sum: e352ad3920b794e684fb97be31bbacc9 SHA1: d14e5c6809f95b87c928493dfa6d9978f12b6980 SHA256: 31ccd880fa09f816d629272923cf5eb19580ee5f1011d57a020a2e6d41f84074 Homepage: https://doc.qt.io/qt-5/qtwebengine-index.html Description-en: Qt WebEngine - Examples 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 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 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 Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install qtwebengine5-examples
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.