How To Install rust-os_type-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-os_type-devel
on Fedora 36.
What is rust-os_type-devel
Detect the operating system type. This package contains library source intended for building other packages which use the “os_type” crate.
We can use yum
or dnf
to install rust-os_type-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-os_type-devel.
Install rust-os_type-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-os_type-devel
using dnf
by running the following command:
sudo dnf -y install rust-os_type-devel
Install rust-os_type-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-os_type-devel
using yum
by running the following command:
sudo yum -y install rust-os_type-devel
How To Uninstall rust-os_type-devel on Fedora 36
To uninstall only the rust-os_type-devel
package we can use the following command:
sudo dnf remove rust-os_type-devel
rust-os_type-devel Package Contents on Fedora 36
/usr/share/cargo/registry/os_type-2.4.0
/usr/share/cargo/registry/os_type-2.4.0/.cargo-checksum.json
/usr/share/cargo/registry/os_type-2.4.0/CODE_OF_CONDUCT.md
/usr/share/cargo/registry/os_type-2.4.0/CONTRIBUTING.md
/usr/share/cargo/registry/os_type-2.4.0/Cargo.toml
/usr/share/cargo/registry/os_type-2.4.0/Changelog.md
/usr/share/cargo/registry/os_type-2.4.0/LICENSE
/usr/share/cargo/registry/os_type-2.4.0/README.md
/usr/share/cargo/registry/os_type-2.4.0/src
/usr/share/cargo/registry/os_type-2.4.0/src/lib.rs
/usr/share/cargo/registry/os_type-2.4.0/src/lsb_release.rs
/usr/share/cargo/registry/os_type-2.4.0/src/os_release.rs
/usr/share/cargo/registry/os_type-2.4.0/src/rhel_release.rs
/usr/share/cargo/registry/os_type-2.4.0/src/sw_vers.rs
/usr/share/cargo/registry/os_type-2.4.0/src/utils.rs
/usr/share/cargo/registry/os_type-2.4.0/src/windows_ver.rs
/usr/share/cargo/registry/os_type-2.4.0/tests
/usr/share/cargo/registry/os_type-2.4.0/tests/centos_release_test.rs
/usr/share/cargo/registry/os_type-2.4.0/tests/lsb_release_test.rs
/usr/share/cargo/registry/os_type-2.4.0/tests/sw_vers_test.rs
/usr/share/doc/rust-os_type-devel
/usr/share/doc/rust-os_type-devel/Changelog.md
/usr/share/doc/rust-os_type-devel/README.md
/usr/share/licenses/rust-os_type-devel
/usr/share/licenses/rust-os_type-devel/LICENSE
References
Summary
In this tutorial we learn how to install rust-os_type-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).