How To Install rust-tokio-tcp-devel on Fedora 36

In this tutorial we learn how to install rust-tokio-tcp-devel in Fedora 36. rust-tokio-tcp-devel is TCP bindings for tokio

Introduction

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

What is rust-tokio-tcp-devel

TCP bindings for tokio. This package contains library source intended for building other packages which use “tokio-tcp” crate.

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

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

sudo dnf -y install rust-tokio-tcp-devel

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

sudo yum -y install rust-tokio-tcp-devel

How To Uninstall rust-tokio-tcp-devel on Fedora 36

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

sudo dnf remove rust-tokio-tcp-devel

rust-tokio-tcp-devel Package Contents on Fedora 36

/usr/share/cargo/registry/tokio-tcp-0.1.4
/usr/share/cargo/registry/tokio-tcp-0.1.4/.cargo-checksum.json
/usr/share/cargo/registry/tokio-tcp-0.1.4/CHANGELOG.md
/usr/share/cargo/registry/tokio-tcp-0.1.4/Cargo.toml
/usr/share/cargo/registry/tokio-tcp-0.1.4/LICENSE
/usr/share/cargo/registry/tokio-tcp-0.1.4/README.md
/usr/share/cargo/registry/tokio-tcp-0.1.4/src
/usr/share/cargo/registry/tokio-tcp-0.1.4/src/incoming.rs
/usr/share/cargo/registry/tokio-tcp-0.1.4/src/lib.rs
/usr/share/cargo/registry/tokio-tcp-0.1.4/src/listener.rs
/usr/share/cargo/registry/tokio-tcp-0.1.4/src/stream.rs
/usr/share/cargo/registry/tokio-tcp-0.1.4/tests
/usr/share/cargo/registry/tokio-tcp-0.1.4/tests/chain.rs
/usr/share/cargo/registry/tokio-tcp-0.1.4/tests/echo.rs
/usr/share/cargo/registry/tokio-tcp-0.1.4/tests/limit.rs
/usr/share/cargo/registry/tokio-tcp-0.1.4/tests/stream-buffered.rs
/usr/share/cargo/registry/tokio-tcp-0.1.4/tests/tcp.rs
/usr/share/doc/rust-tokio-tcp-devel
/usr/share/doc/rust-tokio-tcp-devel/CHANGELOG.md
/usr/share/doc/rust-tokio-tcp-devel/README.md
/usr/share/licenses/rust-tokio-tcp-devel
/usr/share/licenses/rust-tokio-tcp-devel/LICENSE

References

Summary

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