How To Install qtwebengine5-dev-tools on Ubuntu 20.04

In this tutorial we learn how to install qtwebengine5-dev-tools on Ubuntu 20.04. qtwebengine5-dev-tools is Qt WebEngine tools Qt WebEngine tools

Introduction

In this tutorial we learn how to install qtwebengine5-dev-tools on Ubuntu 20.04.

What is qtwebengine5-dev-tools

qtwebengine5-dev-tools is:

Qt is a cross-platform C++ application framework. Qt’s primary feature is its rich set of widgets that provide standard GUI functionality.

This package contains qwebengine_convert_dict tool which converts hunspell ‘dic’ dictionaries to binary ‘bdic’ format, which is required by spellchecker in Qt WebEngine.

Package: qtwebengine5-dev-tools Architecture: amd64 Version: 5.12.8+dfsg-0ubuntu1 Multi-Arch: foreign Priority: optional Section: universe/devel 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: 820 Depends: qtchooser, libc6 (>= 2.29), libevent-2.1-7 (>= 2.1.8-stable), libicu66 (>= 66.1-1~), libqt5core5a (>= 5.12.8+dfsg~), libstdc++6 (>= 5.2) Filename: pool/universe/q/qtwebengine-opensource-src/qtwebengine5-dev-tools_5.12.8+dfsg-0ubuntu1_amd64.deb Size: 156276 MD5sum: 6e8be334343a0262aed05d098068526a SHA1: 0c2e1ece407e0eef37e8f9fab3cffe83a04f30a3 SHA256: 14b12e742b5551a0e6250e7ac86308905435df74e9232feed59fee80353164f6 Homepage: https://doc.qt.io/qt-5/qtwebengine-index.html Description-en: Qt WebEngine tools Qt is a cross-platform C++ application framework. Qt’s primary feature is its rich set of widgets that provide standard GUI functionality.

This package contains qwebengine_convert_dict tool which converts hunspell ‘dic’ dictionaries to binary ‘bdic’ format, which is required by spellchecker in Qt WebEngine.

There are three methods to install qtwebengine5-dev-tools 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-dev-tools 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-dev-tools using apt-get by running the following command:

sudo apt-get -y install qtwebengine5-dev-tools

Install qtwebengine5-dev-tools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install qtwebengine5-dev-tools

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

sudo aptitude -y install qtwebengine5-dev-tools

How To Uninstall qtwebengine5-dev-tools on Ubuntu 20.04

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

sudo apt-get remove qtwebengine5-dev-tools

Uninstall qtwebengine5-dev-tools And Its Dependencies

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

sudo apt-get -y autoremove qtwebengine5-dev-tools

Remove qtwebengine5-dev-tools Configurations and Data

To remove qtwebengine5-dev-tools configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge qtwebengine5-dev-tools

Remove qtwebengine5-dev-tools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qtwebengine5-dev-tools

References

Summary

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