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

In this tutorial we learn how to install rust-tokio-test-devel in Fedora 36. rust-tokio-test-devel is Testing utilities for Tokio- and futures-based code

Introduction

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

What is rust-tokio-test-devel

Testing utilities for Tokio- and futures-based code. This package contains library source intended for building other packages which use “tokio-test” crate.

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

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

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

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

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

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

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

sudo dnf remove rust-tokio-test-devel

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

/usr/share/cargo/registry/tokio-test-0.4.2
/usr/share/cargo/registry/tokio-test-0.4.2/.cargo-checksum.json
/usr/share/cargo/registry/tokio-test-0.4.2/CHANGELOG.md
/usr/share/cargo/registry/tokio-test-0.4.2/Cargo.toml
/usr/share/cargo/registry/tokio-test-0.4.2/LICENSE
/usr/share/cargo/registry/tokio-test-0.4.2/README.md
/usr/share/cargo/registry/tokio-test-0.4.2/src
/usr/share/cargo/registry/tokio-test-0.4.2/src/io.rs
/usr/share/cargo/registry/tokio-test-0.4.2/src/lib.rs
/usr/share/cargo/registry/tokio-test-0.4.2/src/macros.rs
/usr/share/cargo/registry/tokio-test-0.4.2/src/task.rs
/usr/share/cargo/registry/tokio-test-0.4.2/tests
/usr/share/cargo/registry/tokio-test-0.4.2/tests/block_on.rs
/usr/share/cargo/registry/tokio-test-0.4.2/tests/io.rs
/usr/share/cargo/registry/tokio-test-0.4.2/tests/macros.rs
/usr/share/doc/rust-tokio-test-devel
/usr/share/doc/rust-tokio-test-devel/CHANGELOG.md
/usr/share/doc/rust-tokio-test-devel/README.md
/usr/share/licenses/rust-tokio-test-devel
/usr/share/licenses/rust-tokio-test-devel/LICENSE

References

Summary

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