How To Install rust-ws-devel on Fedora 36

In this tutorial we learn how to install rust-ws-devel in Fedora 36. rust-ws-devel is Lightweight, event-driven WebSockets for Rust

Introduction

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

What is rust-ws-devel

Lightweight, event-driven WebSockets for Rust. This package contains library source intended for building other packages which use “ws” crate.

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

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

sudo dnf -y install rust-ws-devel

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

sudo yum -y install rust-ws-devel

How To Uninstall rust-ws-devel on Fedora 36

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

sudo dnf remove rust-ws-devel

rust-ws-devel Package Contents on Fedora 36

/usr/share/cargo/registry/ws-0.9.1
/usr/share/cargo/registry/ws-0.9.1/.cargo-checksum.json
/usr/share/cargo/registry/ws-0.9.1/CHANGELOG.md
/usr/share/cargo/registry/ws-0.9.1/Cargo.toml
/usr/share/cargo/registry/ws-0.9.1/LICENSE
/usr/share/cargo/registry/ws-0.9.1/README.md
/usr/share/cargo/registry/ws-0.9.1/examples
/usr/share/cargo/registry/ws-0.9.1/examples/autobahn-client.rs
/usr/share/cargo/registry/ws-0.9.1/examples/autobahn-server.rs
/usr/share/cargo/registry/ws-0.9.1/examples/bench-server.rs
/usr/share/cargo/registry/ws-0.9.1/examples/bench.rs
/usr/share/cargo/registry/ws-0.9.1/examples/channel.rs
/usr/share/cargo/registry/ws-0.9.1/examples/cli.rs
/usr/share/cargo/registry/ws-0.9.1/examples/client.rs
/usr/share/cargo/registry/ws-0.9.1/examples/external_shutdown.rs
/usr/share/cargo/registry/ws-0.9.1/examples/html_chat.rs
/usr/share/cargo/registry/ws-0.9.1/examples/peer2peer.rs
/usr/share/cargo/registry/ws-0.9.1/examples/pong.rs
/usr/share/cargo/registry/ws-0.9.1/examples/remote_addr.rs
/usr/share/cargo/registry/ws-0.9.1/examples/router.rs
/usr/share/cargo/registry/ws-0.9.1/examples/server.rs
/usr/share/cargo/registry/ws-0.9.1/examples/shared.rs
/usr/share/cargo/registry/ws-0.9.1/examples/ssl-server.rs
/usr/share/cargo/registry/ws-0.9.1/examples/threaded.rs
/usr/share/cargo/registry/ws-0.9.1/examples/unsafe-ssl-client.rs
/usr/share/cargo/registry/ws-0.9.1/src
/usr/share/cargo/registry/ws-0.9.1/src/communication.rs
/usr/share/cargo/registry/ws-0.9.1/src/connection.rs
/usr/share/cargo/registry/ws-0.9.1/src/deflate
/usr/share/cargo/registry/ws-0.9.1/src/deflate/context.rs
/usr/share/cargo/registry/ws-0.9.1/src/deflate/extension.rs
/usr/share/cargo/registry/ws-0.9.1/src/deflate/mod.rs
/usr/share/cargo/registry/ws-0.9.1/src/factory.rs
/usr/share/cargo/registry/ws-0.9.1/src/frame.rs
/usr/share/cargo/registry/ws-0.9.1/src/handler.rs
/usr/share/cargo/registry/ws-0.9.1/src/handshake.rs
/usr/share/cargo/registry/ws-0.9.1/src/io.rs
/usr/share/cargo/registry/ws-0.9.1/src/lib.rs
/usr/share/cargo/registry/ws-0.9.1/src/message.rs
/usr/share/cargo/registry/ws-0.9.1/src/protocol.rs
/usr/share/cargo/registry/ws-0.9.1/src/result.rs
/usr/share/cargo/registry/ws-0.9.1/src/stream.rs
/usr/share/cargo/registry/ws-0.9.1/src/util.rs
/usr/share/cargo/registry/ws-0.9.1/tests
/usr/share/cargo/registry/ws-0.9.1/tests/bind.rs
/usr/share/cargo/registry/ws-0.9.1/tests/deflate.rs
/usr/share/cargo/registry/ws-0.9.1/tests/fuzzingclient.json
/usr/share/cargo/registry/ws-0.9.1/tests/fuzzingserver.json
/usr/share/cargo/registry/ws-0.9.1/tests/shutdown.rs
/usr/share/doc/rust-ws-devel
/usr/share/doc/rust-ws-devel/CHANGELOG.md
/usr/share/doc/rust-ws-devel/README.md
/usr/share/licenses/rust-ws-devel
/usr/share/licenses/rust-ws-devel/LICENSE

References

Summary

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