How To Install rust-twoway+default-devel on Fedora 36

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

Introduction

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

What is rust-twoway+default-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 “default” feature of “twoway” crate.

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

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

sudo dnf -y install rust-twoway+default-devel

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

sudo yum -y install rust-twoway+default-devel

How To Uninstall rust-twoway+default-devel on Fedora 36

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

sudo dnf remove rust-twoway+default-devel

rust-twoway+default-devel Package Contents on Fedora 36

/usr/share/cargo/registry/twoway-0.2.2/Cargo.toml

References

Summary

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