How To Install qt5-qtwebview on CentOS 8
Introduction
In this tutorial we learn how to install qt5-qtwebview
on CentOS 8.
What is qt5-qtwebview
Qt WebView provides a way to display web content in a QML application without necessarily including a full web browser stack by using native APIs where it makes sense.
We can use yum
or dnf
to install qt5-qtwebview
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install qt5-qtwebview.
Install qt5-qtwebview on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install qt5-qtwebview
using dnf
by running the following command:
sudo dnf -y install qt5-qtwebview
Install qt5-qtwebview on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install qt5-qtwebview
using yum
by running the following command:
sudo yum -y install qt5-qtwebview
How To Uninstall qt5-qtwebview on CentOS 8
To uninstall only the qt5-qtwebview
package we can use the following command:
sudo dnf remove qt5-qtwebview
qt5-qtwebview Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/bc87533c3a5bc0f417ac55ffa3f74ad35adf60
/usr/lib/.build-id/30
/usr/lib/.build-id/30/9092cd840cb3198011352cf7b70b2c1f9ba7df
/usr/lib/.build-id/76
/usr/lib/.build-id/76/5394947f2f2d48fac68a70bba4a9bac2304450
/usr/lib64/libQt5WebView.so.5
/usr/lib64/libQt5WebView.so.5.12
/usr/lib64/libQt5WebView.so.5.12.8
/usr/lib64/qt5/plugins/webview
/usr/lib64/qt5/plugins/webview/libqtwebview_webengine.so
/usr/lib64/qt5/qml/QtWebView
/usr/lib64/qt5/qml/QtWebView/libdeclarative_webview.so
/usr/lib64/qt5/qml/QtWebView/plugins.qmltypes
/usr/lib64/qt5/qml/QtWebView/qmldir
/usr/share/licenses/qt5-qtwebview
/usr/share/licenses/qt5-qtwebview/LICENSE.FDL
/usr/share/licenses/qt5-qtwebview/LICENSE.GPLv2
/usr/share/licenses/qt5-qtwebview/LICENSE.GPLv3
/usr/share/licenses/qt5-qtwebview/LICENSE.LGPLv3
References
Summary
In this tutorial we learn how to install qt5-qtwebview
on CentOS 8 using yum and dnf.