How To Install rust-twoway-devel on Fedora 36

In this tutorial we learn how to install rust-twoway-devel in Fedora 36. rust-twoway-devel is Fast substring search for strings and byte strings

Introduction

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

What is rust-twoway-devel

Fast substring search for strings and byte strings. Optional SSE4.2 acceleration (if detected at runtime) using pcmpestri. Memchr is the only mandatory dependency. The two way algorithm is also used by rust’s libstd itself, but here it is exposed both for byte strings, using memchr, and optionally using a SSE4.2 accelerated version. This package contains library source intended for building other packages which use “twoway” crate.

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

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

sudo dnf -y install rust-twoway-devel

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

sudo yum -y install rust-twoway-devel

How To Uninstall rust-twoway-devel on Fedora 36

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

sudo dnf remove rust-twoway-devel

rust-twoway-devel Package Contents on Fedora 36

/usr/share/cargo/registry/twoway-0.2.2
/usr/share/cargo/registry/twoway-0.2.2/.cargo-checksum.json
/usr/share/cargo/registry/twoway-0.2.2/Cargo.toml
/usr/share/cargo/registry/twoway-0.2.2/LICENSE-APACHE
/usr/share/cargo/registry/twoway-0.2.2/LICENSE-MIT
/usr/share/cargo/registry/twoway-0.2.2/README.rst
/usr/share/cargo/registry/twoway-0.2.2/benches
/usr/share/cargo/registry/twoway-0.2.2/benches/pathology.rs
/usr/share/cargo/registry/twoway-0.2.2/src
/usr/share/cargo/registry/twoway-0.2.2/src/bmh.rs
/usr/share/cargo/registry/twoway-0.2.2/src/lib.rs
/usr/share/cargo/registry/twoway-0.2.2/src/pcmp.rs
/usr/share/cargo/registry/twoway-0.2.2/src/tw.rs
/usr/share/cargo/registry/twoway-0.2.2/tests
/usr/share/cargo/registry/twoway-0.2.2/tests/quick.rs
/usr/share/doc/rust-twoway-devel
/usr/share/doc/rust-twoway-devel/README.rst
/usr/share/licenses/rust-twoway-devel
/usr/share/licenses/rust-twoway-devel/LICENSE-APACHE
/usr/share/licenses/rust-twoway-devel/LICENSE-MIT

References

Summary

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