How To Install qt5-qtwebsockets-examples on CentOS 8
Introduction
In this tutorial we learn how to install qt5-qtwebsockets-examples
on CentOS 8.
What is qt5-qtwebsockets-examples
Programming examples for qt5-qtwebsockets.
We can use yum
or dnf
to install qt5-qtwebsockets-examples
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install qt5-qtwebsockets-examples.
Install qt5-qtwebsockets-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-qtwebsockets-examples
using dnf
by running the following command:
sudo dnf -y install qt5-qtwebsockets-examples
Install qt5-qtwebsockets-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-qtwebsockets-examples
using yum
by running the following command:
sudo yum -y install qt5-qtwebsockets-examples
How To Uninstall qt5-qtwebsockets-examples on CentOS 8
To uninstall only the qt5-qtwebsockets-examples
package we can use the following command:
sudo dnf remove qt5-qtwebsockets-examples
qt5-qtwebsockets-examples Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/1c5f82fe02acb6f3946d2066142ec27cb09177
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/e68f9b781d0875de2ac071e80b0fa1774df226
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/4595974b53fb23727cf01989cfa139729dee87
/usr/lib/.build-id/a1/d14a528c13d9b8b3d20a740c991f98155126eb
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/bcd0635b35d1259f5c70bc17d648752e59cdee
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/324e3f70203cf961716c43251b973097d2be07
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/fc24729f768a229adc3d29c920ec027b311b81
/usr/lib64/qt5/examples
/usr/lib64/qt5/examples/websockets
/usr/lib64/qt5/examples/websockets/echoclient
/usr/lib64/qt5/examples/websockets/echoclient/echoclient
/usr/lib64/qt5/examples/websockets/echoclient/echoclient.cpp
/usr/lib64/qt5/examples/websockets/echoclient/echoclient.h
/usr/lib64/qt5/examples/websockets/echoclient/echoclient.pro
/usr/lib64/qt5/examples/websockets/echoclient/main.cpp
/usr/lib64/qt5/examples/websockets/echoserver
/usr/lib64/qt5/examples/websockets/echoserver/echoclient.html
/usr/lib64/qt5/examples/websockets/echoserver/echoserver
/usr/lib64/qt5/examples/websockets/echoserver/echoserver.cpp
/usr/lib64/qt5/examples/websockets/echoserver/echoserver.h
/usr/lib64/qt5/examples/websockets/echoserver/echoserver.pro
/usr/lib64/qt5/examples/websockets/echoserver/main.cpp
/usr/lib64/qt5/examples/websockets/qmlwebsocketclient
/usr/lib64/qt5/examples/websockets/qmlwebsocketclient/data.qrc
/usr/lib64/qt5/examples/websockets/qmlwebsocketclient/main.cpp
/usr/lib64/qt5/examples/websockets/qmlwebsocketclient/qml
/usr/lib64/qt5/examples/websockets/qmlwebsocketclient/qml/qmlwebsocketclient
/usr/lib64/qt5/examples/websockets/qmlwebsocketclient/qml/qmlwebsocketclient/main.qml
/usr/lib64/qt5/examples/websockets/qmlwebsocketclient/qmlwebsocketclient
/usr/lib64/qt5/examples/websockets/qmlwebsocketclient/qmlwebsocketclient.pro
/usr/lib64/qt5/examples/websockets/qmlwebsocketserver
/usr/lib64/qt5/examples/websockets/qmlwebsocketserver/data.qrc
/usr/lib64/qt5/examples/websockets/qmlwebsocketserver/main.cpp
/usr/lib64/qt5/examples/websockets/qmlwebsocketserver/qml
/usr/lib64/qt5/examples/websockets/qmlwebsocketserver/qml/qmlwebsocketserver
/usr/lib64/qt5/examples/websockets/qmlwebsocketserver/qml/qmlwebsocketserver/main.qml
/usr/lib64/qt5/examples/websockets/qmlwebsocketserver/qmlwebsocketserver
/usr/lib64/qt5/examples/websockets/qmlwebsocketserver/qmlwebsocketserver.pro
/usr/lib64/qt5/examples/websockets/simplechat
/usr/lib64/qt5/examples/websockets/simplechat/chatclient.html
/usr/lib64/qt5/examples/websockets/simplechat/chatserver
/usr/lib64/qt5/examples/websockets/simplechat/chatserver.cpp
/usr/lib64/qt5/examples/websockets/simplechat/chatserver.h
/usr/lib64/qt5/examples/websockets/simplechat/main.cpp
/usr/lib64/qt5/examples/websockets/simplechat/simplechat.pro
/usr/lib64/qt5/examples/websockets/sslechoclient
/usr/lib64/qt5/examples/websockets/sslechoclient/main.cpp
/usr/lib64/qt5/examples/websockets/sslechoclient/sslechoclient
/usr/lib64/qt5/examples/websockets/sslechoclient/sslechoclient.cpp
/usr/lib64/qt5/examples/websockets/sslechoclient/sslechoclient.h
/usr/lib64/qt5/examples/websockets/sslechoclient/sslechoclient.pro
/usr/lib64/qt5/examples/websockets/sslechoserver
/usr/lib64/qt5/examples/websockets/sslechoserver/localhost.cert
/usr/lib64/qt5/examples/websockets/sslechoserver/localhost.key
/usr/lib64/qt5/examples/websockets/sslechoserver/main.cpp
/usr/lib64/qt5/examples/websockets/sslechoserver/securesocketclient.qrc
/usr/lib64/qt5/examples/websockets/sslechoserver/sslechoclient.html
/usr/lib64/qt5/examples/websockets/sslechoserver/sslechoserver
/usr/lib64/qt5/examples/websockets/sslechoserver/sslechoserver.cpp
/usr/lib64/qt5/examples/websockets/sslechoserver/sslechoserver.h
/usr/lib64/qt5/examples/websockets/sslechoserver/sslechoserver.pro
/usr/lib64/qt5/examples/websockets/websockets.pro
References
Summary
In this tutorial we learn how to install qt5-qtwebsockets-examples
on CentOS 8 using yum and dnf.