How To Install rust-websocket-devel on Fedora 36

In this tutorial we learn how to install rust-websocket-devel in Fedora 36. rust-websocket-devel is WebSocket (RFC6455) library for Rust

Introduction

In this tutorial we learn how to install rust-websocket-devel on Fedora 36.

What is rust-websocket-devel

WebSocket (RFC6455) library for Rust. This package contains library source intended for building other packages which use the “websocket” crate.

We can use yum or dnf to install rust-websocket-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-websocket-devel.

Install rust-websocket-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rust-websocket-devel

Install rust-websocket-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rust-websocket-devel

How To Uninstall rust-websocket-devel on Fedora 36

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

sudo dnf remove rust-websocket-devel

rust-websocket-devel Package Contents on Fedora 36

/usr/share/cargo/registry/websocket-0.26.3
/usr/share/cargo/registry/websocket-0.26.3/.cargo-checksum.json
/usr/share/cargo/registry/websocket-0.26.3/Cargo.toml
/usr/share/cargo/registry/websocket-0.26.3/LICENSE
/usr/share/cargo/registry/websocket-0.26.3/README.md
/usr/share/cargo/registry/websocket-0.26.3/ROADMAP.md
/usr/share/cargo/registry/websocket-0.26.3/autobahn
/usr/share/cargo/registry/websocket-0.26.3/autobahn/client-results.json
/usr/share/cargo/registry/websocket-0.26.3/autobahn/fuzzingclient.json
/usr/share/cargo/registry/websocket-0.26.3/autobahn/fuzzingserver.json
/usr/share/cargo/registry/websocket-0.26.3/autobahn/server-results.json
/usr/share/cargo/registry/websocket-0.26.3/examples
/usr/share/cargo/registry/websocket-0.26.3/examples/async-autobahn-client.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/async-autobahn-server.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/async-client.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/async-server.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/autobahn-client.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/autobahn-server.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/client.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/hyper.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/parallel-server.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/server.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/ssl-client.rs
/usr/share/cargo/registry/websocket-0.26.3/examples/websockets.html
/usr/share/cargo/registry/websocket-0.26.3/scripts
/usr/share/cargo/registry/websocket-0.26.3/scripts/autobahn-client.sh
/usr/share/cargo/registry/websocket-0.26.3/scripts/autobahn-server.sh
/usr/share/cargo/registry/websocket-0.26.3/scripts/build-all.sh
/usr/share/cargo/registry/websocket-0.26.3/src
/usr/share/cargo/registry/websocket-0.26.3/src/client
/usr/share/cargo/registry/websocket-0.26.3/src/client/async.rs
/usr/share/cargo/registry/websocket-0.26.3/src/client/builder.rs
/usr/share/cargo/registry/websocket-0.26.3/src/client/mod.rs
/usr/share/cargo/registry/websocket-0.26.3/src/client/sync.rs
/usr/share/cargo/registry/websocket-0.26.3/src/codec
/usr/share/cargo/registry/websocket-0.26.3/src/codec/http.rs
/usr/share/cargo/registry/websocket-0.26.3/src/codec/mod.rs
/usr/share/cargo/registry/websocket-0.26.3/src/header
/usr/share/cargo/registry/websocket-0.26.3/src/header/accept.rs
/usr/share/cargo/registry/websocket-0.26.3/src/header/extensions.rs
/usr/share/cargo/registry/websocket-0.26.3/src/header/key.rs
/usr/share/cargo/registry/websocket-0.26.3/src/header/mod.rs
/usr/share/cargo/registry/websocket-0.26.3/src/header/origin.rs
/usr/share/cargo/registry/websocket-0.26.3/src/header/protocol.rs
/usr/share/cargo/registry/websocket-0.26.3/src/header/version.rs
/usr/share/cargo/registry/websocket-0.26.3/src/lib.rs
/usr/share/cargo/registry/websocket-0.26.3/src/receiver.rs
/usr/share/cargo/registry/websocket-0.26.3/src/result.rs
/usr/share/cargo/registry/websocket-0.26.3/src/sender.rs
/usr/share/cargo/registry/websocket-0.26.3/src/server
/usr/share/cargo/registry/websocket-0.26.3/src/server/async.rs
/usr/share/cargo/registry/websocket-0.26.3/src/server/mod.rs
/usr/share/cargo/registry/websocket-0.26.3/src/server/sync.rs
/usr/share/cargo/registry/websocket-0.26.3/src/server/upgrade
/usr/share/cargo/registry/websocket-0.26.3/src/server/upgrade/async.rs
/usr/share/cargo/registry/websocket-0.26.3/src/server/upgrade/mod.rs
/usr/share/cargo/registry/websocket-0.26.3/src/server/upgrade/sync.rs
/usr/share/doc/rust-websocket-devel
/usr/share/doc/rust-websocket-devel/README.md
/usr/share/doc/rust-websocket-devel/ROADMAP.md
/usr/share/licenses/rust-websocket-devel
/usr/share/licenses/rust-websocket-devel/LICENSE

References

Summary

In this tutorial we learn how to install rust-websocket-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).