How To Install qt5-qtwebsockets-devel on CentOS 8

qt5-qtwebsockets-devel is Development files for qt5-qtwebsockets Development files for qt5-qtwebsockets

Introduction

In this tutorial we learn how to install qt5-qtwebsockets-devel on CentOS 8.

What is qt5-qtwebsockets-devel

Development files for qt5-qtwebsockets. qt5-qtwebsockets-devel 5.12.5 2.el8 x86_64 46 k qt5-qtwebsockets-5.12.5-2.el8.src.rpm appstream Development files for qt5-qtwebsockets http LGPLv2 with exceptions or GPLv3 with exceptions Development files for qt5-qtwebsockets.

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

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

sudo dnf -y install qt5-qtwebsockets-devel

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

sudo yum -y install qt5-qtwebsockets-devel

How To Uninstall qt5-qtwebsockets-devel on CentOS 8

To uninstall only the qt5-qtwebsockets-devel package we can use the following command:

sudo dnf remove qt5-qtwebsockets-devel

qt5-qtwebsockets-devel Package Contents on CentOS 8

/usr/include/qt5/QtWebSockets
/usr/include/qt5/QtWebSockets/5.12.5
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qdefaultmaskgenerator_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qsslserver_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocket_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketcorsauthenticator_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketdataprocessor_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketframe_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsockethandshakerequest_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsockethandshakeresponse_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketprotocol_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketserver_p.h
/usr/include/qt5/QtWebSockets/QMaskGenerator
/usr/include/qt5/QtWebSockets/QWebSocket
/usr/include/qt5/QtWebSockets/QWebSocketCorsAuthenticator
/usr/include/qt5/QtWebSockets/QWebSocketProtocol
/usr/include/qt5/QtWebSockets/QWebSocketServer
/usr/include/qt5/QtWebSockets/QtWebSockets
/usr/include/qt5/QtWebSockets/QtWebSocketsDepends
/usr/include/qt5/QtWebSockets/QtWebSocketsVersion
/usr/include/qt5/QtWebSockets/qmaskgenerator.h
/usr/include/qt5/QtWebSockets/qtwebsocketsversion.h
/usr/include/qt5/QtWebSockets/qwebsocket.h
/usr/include/qt5/QtWebSockets/qwebsocketcorsauthenticator.h
/usr/include/qt5/QtWebSockets/qwebsocketprotocol.h
/usr/include/qt5/QtWebSockets/qwebsockets_global.h
/usr/include/qt5/QtWebSockets/qwebsocketserver.h
/usr/lib/.build-id
/usr/lib/.build-id/da
/usr/lib/.build-id/da/9311b4dedbb2f82059e29fff96c5eddc9bbb2e
/usr/lib/cmake/Qt5WebSockets
/usr/lib/cmake/Qt5WebSockets/Qt5WebSocketsConfig.cmake
/usr/lib/cmake/Qt5WebSockets/Qt5WebSocketsConfigVersion.cmake
/usr/lib/libQt5WebSockets.prl
/usr/lib/libQt5WebSockets.so
/usr/lib/pkgconfig/Qt5WebSockets.pc
/usr/lib/qt5/mkspecs/modules/qt_lib_websockets.pri
/usr/lib/qt5/mkspecs/modules/qt_lib_websockets_private.pri
/usr/lib/qt5/qml/QtWebSockets
/usr/lib/qt5/qml/QtWebSockets/libdeclarative_qmlwebsockets.so
/usr/lib/qt5/qml/QtWebSockets/plugins.qmltypes
/usr/lib/qt5/qml/QtWebSockets/qmldir
/usr/include/qt5/QtWebSockets
/usr/include/qt5/QtWebSockets/5.12.5
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qdefaultmaskgenerator_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qsslserver_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocket_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketcorsauthenticator_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketdataprocessor_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketframe_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsockethandshakerequest_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsockethandshakeresponse_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketprotocol_p.h
/usr/include/qt5/QtWebSockets/5.12.5/QtWebSockets/private/qwebsocketserver_p.h
/usr/include/qt5/QtWebSockets/QMaskGenerator
/usr/include/qt5/QtWebSockets/QWebSocket
/usr/include/qt5/QtWebSockets/QWebSocketCorsAuthenticator
/usr/include/qt5/QtWebSockets/QWebSocketProtocol
/usr/include/qt5/QtWebSockets/QWebSocketServer
/usr/include/qt5/QtWebSockets/QtWebSockets
/usr/include/qt5/QtWebSockets/QtWebSocketsDepends
/usr/include/qt5/QtWebSockets/QtWebSocketsVersion
/usr/include/qt5/QtWebSockets/qmaskgenerator.h
/usr/include/qt5/QtWebSockets/qtwebsocketsversion.h
/usr/include/qt5/QtWebSockets/qwebsocket.h
/usr/include/qt5/QtWebSockets/qwebsocketcorsauthenticator.h
/usr/include/qt5/QtWebSockets/qwebsocketprotocol.h
/usr/include/qt5/QtWebSockets/qwebsockets_global.h
/usr/include/qt5/QtWebSockets/qwebsocketserver.h
/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/9af633216a2a0cb8d1920f985b5ac1b39749b9
/usr/lib64/cmake/Qt5WebSockets
/usr/lib64/cmake/Qt5WebSockets/Qt5WebSocketsConfig.cmake
/usr/lib64/cmake/Qt5WebSockets/Qt5WebSocketsConfigVersion.cmake
/usr/lib64/libQt5WebSockets.prl
/usr/lib64/libQt5WebSockets.so
/usr/lib64/pkgconfig/Qt5WebSockets.pc
/usr/lib64/qt5/mkspecs/modules/qt_lib_websockets.pri
/usr/lib64/qt5/mkspecs/modules/qt_lib_websockets_private.pri
/usr/lib64/qt5/qml/QtWebSockets
/usr/lib64/qt5/qml/QtWebSockets/libdeclarative_qmlwebsockets.so
/usr/lib64/qt5/qml/QtWebSockets/plugins.qmltypes
/usr/lib64/qt5/qml/QtWebSockets/qmldir

References

Summary

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