How To Install rust-dotenv-devel on Fedora 36

In this tutorial we learn how to install rust-dotenv-devel in Fedora 36. rust-dotenv-devel is dotenv implementation for Rust

Introduction

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

What is rust-dotenv-devel

dotenv implementation for Rust. This package contains library source intended for building other packages which use “dotenv” crate.

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

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

sudo dnf -y install rust-dotenv-devel

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

sudo yum -y install rust-dotenv-devel

How To Uninstall rust-dotenv-devel on Fedora 36

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

sudo dnf remove rust-dotenv-devel

rust-dotenv-devel Package Contents on Fedora 36

/usr/share/cargo/registry/dotenv-0.15.0
/usr/share/cargo/registry/dotenv-0.15.0/.cargo-checksum.json
/usr/share/cargo/registry/dotenv-0.15.0/Cargo.toml
/usr/share/cargo/registry/dotenv-0.15.0/examples
/usr/share/cargo/registry/dotenv-0.15.0/examples/simple.rs
/usr/share/cargo/registry/dotenv-0.15.0/src
/usr/share/cargo/registry/dotenv-0.15.0/src/bin
/usr/share/cargo/registry/dotenv-0.15.0/src/bin/dotenv.rs
/usr/share/cargo/registry/dotenv-0.15.0/src/errors.rs
/usr/share/cargo/registry/dotenv-0.15.0/src/find.rs
/usr/share/cargo/registry/dotenv-0.15.0/src/iter.rs
/usr/share/cargo/registry/dotenv-0.15.0/src/lib.rs
/usr/share/cargo/registry/dotenv-0.15.0/src/parse.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests
/usr/share/cargo/registry/dotenv-0.15.0/tests/common
/usr/share/cargo/registry/dotenv-0.15.0/tests/common/mod.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-child-dir.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-default-location.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-dotenv-iter.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-from-filename-iter.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-from-filename.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-from-path-iter.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-from-path.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-var.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-variable-substitution.rs
/usr/share/cargo/registry/dotenv-0.15.0/tests/test-vars.rs

References

Summary

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