How To Install rust-ammonia-devel on Fedora 36

In this tutorial we learn how to install rust-ammonia-devel in Fedora 36. rust-ammonia-devel is HTML Sanitization

Introduction

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

What is rust-ammonia-devel

HTML Sanitization. This package contains library source intended for building other packages which use the “ammonia” crate.

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

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

sudo dnf -y install rust-ammonia-devel

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

sudo yum -y install rust-ammonia-devel

How To Uninstall rust-ammonia-devel on Fedora 36

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

sudo dnf remove rust-ammonia-devel

rust-ammonia-devel Package Contents on Fedora 36

/usr/share/cargo/registry/ammonia-3.1.4
/usr/share/cargo/registry/ammonia-3.1.4/.cargo-checksum.json
/usr/share/cargo/registry/ammonia-3.1.4/CHANGELOG.md
/usr/share/cargo/registry/ammonia-3.1.4/CODE_OF_CONDUCT.md
/usr/share/cargo/registry/ammonia-3.1.4/Cargo.toml
/usr/share/cargo/registry/ammonia-3.1.4/LICENSE-APACHE
/usr/share/cargo/registry/ammonia-3.1.4/LICENSE-MIT
/usr/share/cargo/registry/ammonia-3.1.4/README.md
/usr/share/cargo/registry/ammonia-3.1.4/RELEASE_PROCESS.md
/usr/share/cargo/registry/ammonia-3.1.4/SECURITY.md
/usr/share/cargo/registry/ammonia-3.1.4/bors.toml
/usr/share/cargo/registry/ammonia-3.1.4/examples
/usr/share/cargo/registry/ammonia-3.1.4/examples/ammonia-cat.rs
/usr/share/cargo/registry/ammonia-3.1.4/src
/usr/share/cargo/registry/ammonia-3.1.4/src/lib.rs
/usr/share/cargo/registry/ammonia-3.1.4/tests
/usr/share/cargo/registry/ammonia-3.1.4/tests/version-numbers.rs
/usr/share/doc/rust-ammonia-devel
/usr/share/doc/rust-ammonia-devel/CHANGELOG.md
/usr/share/doc/rust-ammonia-devel/README.md
/usr/share/licenses/rust-ammonia-devel
/usr/share/licenses/rust-ammonia-devel/LICENSE-APACHE
/usr/share/licenses/rust-ammonia-devel/LICENSE-MIT

References

Summary

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