How To Install rust-brotli-decompressor+alloc-stdlib-devel on Fedora 36

In this tutorial we learn how to install rust-brotli-decompressor+alloc-stdlib-devel in Fedora 36. rust-brotli-decompressor+alloc-stdlib-devel is Brotli decompressor with an interface avoiding the rust stdlib

Introduction

In this tutorial we learn how to install rust-brotli-decompressor+alloc-stdlib-devel on Fedora 36.

What is rust-brotli-decompressor+alloc-stdlib-devel

Brotli decompressor with an interface avoiding the rust stdlib. This makes it suitable for embedded devices and kernels. It is designed with a pluggable allocator so that the standard lib’s allocator may be employed. The default build also includes a stdlib allocator and stream interface. Disable this with –features=no-stdlib. Alternatively, –features=unsafe turns off array bounds checks and memory initialization but provides a safe interface for the caller. Without adding the –features=unsafe argument, all included code is safe. For compression in addition to this library, download https This package contains library source intended for building other packages which use “alloc-stdlib” feature of “brotli-decompressor” crate.

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

Install rust-brotli-decompressor+alloc-stdlib-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-brotli-decompressor+alloc-stdlib-devel using dnf by running the following command:

sudo dnf -y install rust-brotli-decompressor+alloc-stdlib-devel

Install rust-brotli-decompressor+alloc-stdlib-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-brotli-decompressor+alloc-stdlib-devel using yum by running the following command:

sudo yum -y install rust-brotli-decompressor+alloc-stdlib-devel

How To Uninstall rust-brotli-decompressor+alloc-stdlib-devel on Fedora 36

To uninstall only the rust-brotli-decompressor+alloc-stdlib-devel package we can use the following command:

sudo dnf remove rust-brotli-decompressor+alloc-stdlib-devel

rust-brotli-decompressor+alloc-stdlib-devel Package Contents on Fedora 36

/usr/share/cargo/registry/brotli-decompressor-2.3.2/Cargo.toml

References

Summary

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