How To Install qt5-qtwebchannel-examples on CentOS 8

qt5-qtwebchannel-examples is Programming examples for qt5-qtwebchannel

Introduction

In this tutorial we learn how to install qt5-qtwebchannel-examples on CentOS 8.

What is qt5-qtwebchannel-examples

Programming examples for qt5-qtwebchannel.

We can use yum or dnf to install qt5-qtwebchannel-examples on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install qt5-qtwebchannel-examples.

Install qt5-qtwebchannel-examples 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-qtwebchannel-examples using dnf by running the following command:

sudo dnf -y install qt5-qtwebchannel-examples

Install qt5-qtwebchannel-examples 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-qtwebchannel-examples using yum by running the following command:

sudo yum -y install qt5-qtwebchannel-examples

How To Uninstall qt5-qtwebchannel-examples on CentOS 8

To uninstall only the qt5-qtwebchannel-examples package we can use the following command:

sudo dnf remove qt5-qtwebchannel-examples

qt5-qtwebchannel-examples Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/81
/usr/lib/.build-id/81/aad4005f7808ea0513e9d095e397364bde8a82
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/53011416df5e996e4587613a56ff62534b44d0
/usr/lib64/qt5/examples
/usr/lib64/qt5/examples/webchannel
/usr/lib64/qt5/examples/webchannel/chatclient-html
/usr/lib64/qt5/examples/webchannel/chatclient-html/chatclient-html.pro
/usr/lib64/qt5/examples/webchannel/chatclient-html/chatclient.html
/usr/lib64/qt5/examples/webchannel/chatclient-html/qwebchannel.js
/usr/lib64/qt5/examples/webchannel/chatclient-qml
/usr/lib64/qt5/examples/webchannel/chatclient-qml/LoginForm.ui.qml
/usr/lib64/qt5/examples/webchannel/chatclient-qml/MainForm.ui.qml
/usr/lib64/qt5/examples/webchannel/chatclient-qml/chatclient-qml.pro
/usr/lib64/qt5/examples/webchannel/chatclient-qml/qmlchatclient.qml
/usr/lib64/qt5/examples/webchannel/chatclient-qml/qwebchannel.js
/usr/lib64/qt5/examples/webchannel/chatserver-cpp
/usr/lib64/qt5/examples/webchannel/chatserver-cpp/chatserver
/usr/lib64/qt5/examples/webchannel/chatserver-cpp/chatserver-cpp.pro
/usr/lib64/qt5/examples/webchannel/chatserver-cpp/chatserver.cpp
/usr/lib64/qt5/examples/webchannel/chatserver-cpp/chatserver.h
/usr/lib64/qt5/examples/webchannel/chatserver-cpp/main.cpp
/usr/lib64/qt5/examples/webchannel/exampleassets.pri
/usr/lib64/qt5/examples/webchannel/nodejs
/usr/lib64/qt5/examples/webchannel/nodejs/README
/usr/lib64/qt5/examples/webchannel/nodejs/chatclient.js
/usr/lib64/qt5/examples/webchannel/nodejs/nodejs.pro
/usr/lib64/qt5/examples/webchannel/nodejs/package.json
/usr/lib64/qt5/examples/webchannel/nodejs/qwebchannel.js
/usr/lib64/qt5/examples/webchannel/qwclient
/usr/lib64/qt5/examples/webchannel/qwclient/README
/usr/lib64/qt5/examples/webchannel/qwclient/package.json
/usr/lib64/qt5/examples/webchannel/qwclient/qwclient.js
/usr/lib64/qt5/examples/webchannel/qwclient/qwclient.pro
/usr/lib64/qt5/examples/webchannel/qwclient/qwebchannel.js
/usr/lib64/qt5/examples/webchannel/shared
/usr/lib64/qt5/examples/webchannel/shared/qwebchannel.js
/usr/lib64/qt5/examples/webchannel/shared/websocketclientwrapper.cpp
/usr/lib64/qt5/examples/webchannel/shared/websocketclientwrapper.h
/usr/lib64/qt5/examples/webchannel/shared/websockettransport.cpp
/usr/lib64/qt5/examples/webchannel/shared/websockettransport.h
/usr/lib64/qt5/examples/webchannel/standalone
/usr/lib64/qt5/examples/webchannel/standalone/core.h
/usr/lib64/qt5/examples/webchannel/standalone/dialog.cpp
/usr/lib64/qt5/examples/webchannel/standalone/dialog.h
/usr/lib64/qt5/examples/webchannel/standalone/dialog.ui
/usr/lib64/qt5/examples/webchannel/standalone/index.html
/usr/lib64/qt5/examples/webchannel/standalone/main.cpp
/usr/lib64/qt5/examples/webchannel/standalone/qwebchannel.js
/usr/lib64/qt5/examples/webchannel/standalone/standalone
/usr/lib64/qt5/examples/webchannel/standalone/standalone.pro
/usr/lib64/qt5/examples/webchannel/webchannel.pro

References

Summary

In this tutorial we learn how to install qt5-qtwebchannel-examples on CentOS 8 using yum and dnf.