How To Install libwebsockets-devel on Rocky Linux 8

In this tutorial we learn how to install libwebsockets-devel on Rocky Linux 8. libwebsockets-devel is Headers for developing programs that will use libwebsockets

Introduction

In this tutorial we learn how to install libwebsockets-devel on Rocky Linux 8.

What is libwebsockets-devel

This package contains the header files needed for developing libwebsockets applications.

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

Install libwebsockets-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libwebsockets-devel using dnf by running the following command:

sudo dnf -y install libwebsockets-devel

Install libwebsockets-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libwebsockets-devel using yum by running the following command:

sudo yum -y install libwebsockets-devel

How To Uninstall libwebsockets-devel on Rocky Linux 8

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

sudo dnf remove libwebsockets-devel

libwebsockets-devel Package Contents on Rocky Linux 8

/usr/include/libwebsockets
/usr/include/libwebsockets.h
/usr/include/libwebsockets/abstract
/usr/include/libwebsockets/abstract/abstract.h
/usr/include/libwebsockets/abstract/protocols
/usr/include/libwebsockets/abstract/protocols.h
/usr/include/libwebsockets/abstract/protocols/smtp.h
/usr/include/libwebsockets/abstract/transports
/usr/include/libwebsockets/abstract/transports.h
/usr/include/libwebsockets/abstract/transports/raw-skt.h
/usr/include/libwebsockets/abstract/transports/unit-test.h
/usr/include/libwebsockets/lws-adopt.h
/usr/include/libwebsockets/lws-async-dns.h
/usr/include/libwebsockets/lws-callbacks.h
/usr/include/libwebsockets/lws-cgi.h
/usr/include/libwebsockets/lws-client.h
/usr/include/libwebsockets/lws-context-vhost.h
/usr/include/libwebsockets/lws-dbus.h
/usr/include/libwebsockets/lws-detailed-latency.h
/usr/include/libwebsockets/lws-diskcache.h
/usr/include/libwebsockets/lws-dll2.h
/usr/include/libwebsockets/lws-dsh.h
/usr/include/libwebsockets/lws-esp32.h
/usr/include/libwebsockets/lws-freertos.h
/usr/include/libwebsockets/lws-fts.h
/usr/include/libwebsockets/lws-genaes.h
/usr/include/libwebsockets/lws-gencrypto.h
/usr/include/libwebsockets/lws-genec.h
/usr/include/libwebsockets/lws-genhash.h
/usr/include/libwebsockets/lws-genrsa.h
/usr/include/libwebsockets/lws-http.h
/usr/include/libwebsockets/lws-jose.h
/usr/include/libwebsockets/lws-jwe.h
/usr/include/libwebsockets/lws-jwk.h
/usr/include/libwebsockets/lws-jws.h
/usr/include/libwebsockets/lws-lejp.h
/usr/include/libwebsockets/lws-logs.h
/usr/include/libwebsockets/lws-lwsac.h
/usr/include/libwebsockets/lws-misc.h
/usr/include/libwebsockets/lws-mqtt.h
/usr/include/libwebsockets/lws-network-helper.h
/usr/include/libwebsockets/lws-optee.h
/usr/include/libwebsockets/lws-plugin-generic-sessions.h
/usr/include/libwebsockets/lws-protocols-plugins.h
/usr/include/libwebsockets/lws-purify.h
/usr/include/libwebsockets/lws-retry.h
/usr/include/libwebsockets/lws-ring.h
/usr/include/libwebsockets/lws-secure-streams-client.h
/usr/include/libwebsockets/lws-secure-streams-policy.h
/usr/include/libwebsockets/lws-secure-streams.h
/usr/include/libwebsockets/lws-sequencer.h
/usr/include/libwebsockets/lws-service.h
/usr/include/libwebsockets/lws-sha1-base64.h
/usr/include/libwebsockets/lws-spa.h
/usr/include/libwebsockets/lws-state.h
/usr/include/libwebsockets/lws-stats.h
/usr/include/libwebsockets/lws-struct.h
/usr/include/libwebsockets/lws-system.h
/usr/include/libwebsockets/lws-test-sequencer.h
/usr/include/libwebsockets/lws-threadpool.h
/usr/include/libwebsockets/lws-timeout-timer.h
/usr/include/libwebsockets/lws-tokenize.h
/usr/include/libwebsockets/lws-vfs.h
/usr/include/libwebsockets/lws-write.h
/usr/include/libwebsockets/lws-writeable.h
/usr/include/libwebsockets/lws-ws-close.h
/usr/include/libwebsockets/lws-ws-ext.h
/usr/include/libwebsockets/lws-ws-state.h
/usr/include/libwebsockets/lws-x509.h
/usr/include/lws-plugin-ssh.h
/usr/include/lws_config.h
/usr/lib64/libwebsockets.so
/usr/lib64/pkgconfig/libwebsockets.pc
/usr/share/doc/libwebsockets-devel
/usr/share/doc/libwebsockets-devel/README.coding.md
/usr/share/doc/libwebsockets-devel/READMEs
/usr/share/doc/libwebsockets-devel/READMEs/README.async-dns.md
/usr/share/doc/libwebsockets-devel/READMEs/README.build-windows.md
/usr/share/doc/libwebsockets-devel/READMEs/README.build.md
/usr/share/doc/libwebsockets-devel/READMEs/README.ci.md
/usr/share/doc/libwebsockets-devel/READMEs/README.coding.md
/usr/share/doc/libwebsockets-devel/READMEs/README.content-security-policy.md
/usr/share/doc/libwebsockets-devel/READMEs/README.contributing.md
/usr/share/doc/libwebsockets-devel/READMEs/README.crypto-apis.md
/usr/share/doc/libwebsockets-devel/READMEs/README.detailed-latency.md
/usr/share/doc/libwebsockets-devel/READMEs/README.esp32.md
/usr/share/doc/libwebsockets-devel/READMEs/README.generic-sessions.md
/usr/share/doc/libwebsockets-devel/READMEs/README.generic-table.md
/usr/share/doc/libwebsockets-devel/READMEs/README.h2-long-poll.md
/usr/share/doc/libwebsockets-devel/READMEs/README.http-fallback.md
/usr/share/doc/libwebsockets-devel/READMEs/README.lws_dll.md
/usr/share/doc/libwebsockets-devel/READMEs/README.lws_retry.md
/usr/share/doc/libwebsockets-devel/READMEs/README.lws_sequencer.md
/usr/share/doc/libwebsockets-devel/READMEs/README.lws_struct.md
/usr/share/doc/libwebsockets-devel/READMEs/README.lws_sul.md
/usr/share/doc/libwebsockets-devel/READMEs/README.lws_system.md
/usr/share/doc/libwebsockets-devel/READMEs/README.lwsws.md
/usr/share/doc/libwebsockets-devel/READMEs/README.plugin-acme.md
/usr/share/doc/libwebsockets-devel/READMEs/README.plugin-sshd-base.md
/usr/share/doc/libwebsockets-devel/READMEs/README.porting.md
/usr/share/doc/libwebsockets-devel/READMEs/README.problems.md
/usr/share/doc/libwebsockets-devel/READMEs/README.release-policy.md
/usr/share/doc/libwebsockets-devel/READMEs/README.test-apps.md
/usr/share/doc/libwebsockets-devel/READMEs/README.udp.md
/usr/share/doc/libwebsockets-devel/READMEs/README.unix-domain-reverse-proxy.md
/usr/share/doc/libwebsockets-devel/READMEs/README.vulnerability-reporting.md
/usr/share/doc/libwebsockets-devel/READMEs/mainpage.md
/usr/share/doc/libwebsockets-devel/READMEs/release-checklist
/usr/share/doc/libwebsockets-devel/changelog
/usr/share/licenses/libwebsockets-devel
/usr/share/licenses/libwebsockets-devel/LICENSE

References

Summary

In this tutorial we learn how to install libwebsockets-devel on Rocky Linux 8 using yum and dnf.