How To Install rust-utf8-width-devel on Fedora 36

In this tutorial we learn how to install rust-utf8-width-devel in Fedora 36. rust-utf8-width-devel is Determine the width of a UTF-8 character by providing its first byte

Introduction

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

What is rust-utf8-width-devel

Determine the width of a UTF-8 character by providing its first byte. This package contains library source intended for building other packages which use the “utf8-width” crate.

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

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

sudo dnf -y install rust-utf8-width-devel

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

sudo yum -y install rust-utf8-width-devel

How To Uninstall rust-utf8-width-devel on Fedora 36

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

sudo dnf remove rust-utf8-width-devel

rust-utf8-width-devel Package Contents on Fedora 36

/usr/share/cargo/registry/utf8-width-0.1.6
/usr/share/cargo/registry/utf8-width-0.1.6/.cargo-checksum.json
/usr/share/cargo/registry/utf8-width-0.1.6/Cargo.toml
/usr/share/cargo/registry/utf8-width-0.1.6/LICENSE
/usr/share/cargo/registry/utf8-width-0.1.6/README.md
/usr/share/cargo/registry/utf8-width-0.1.6/benches
/usr/share/cargo/registry/utf8-width-0.1.6/benches/bench.rs
/usr/share/cargo/registry/utf8-width-0.1.6/src
/usr/share/cargo/registry/utf8-width-0.1.6/src/lib.rs

References

Summary

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