How To Install libqt5webengine5 on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 363 words
Introduction
In this tutorial we learn how to install libqt5webengine5
on Ubuntu.
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.
There are three methods to install libqt5webengine5
on Ubuntu. 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
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, 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 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
Dependencies
libqt5webengine5 have the following dependencies:
- libqt5webengine-data
- libc6
- libqt5core5a
- libqt5gui5
- libqt5network5
- libqt5qml5
- libqt5quick5
- libqt5test5
- libqt5webchannel5
- libqt5webenginecore5
- libstdc++6
- qtbase-abi-5-15-2
References
Summary
In this tutorial we learn how to install libqt5webengine5
package on Ubuntu using different package management tools: apt, apt-get and aptitude.