How To Install rust-caps-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-caps-devel
on Fedora 36.
What is rust-caps-devel
Pure-Rust library to work with Linux capabilities. This package contains library source intended for building other packages which use “caps” crate.
We can use yum
or dnf
to install rust-caps-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-caps-devel.
Install rust-caps-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-caps-devel
using dnf
by running the following command:
sudo dnf -y install rust-caps-devel
Install rust-caps-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-caps-devel
using yum
by running the following command:
sudo yum -y install rust-caps-devel
How To Uninstall rust-caps-devel on Fedora 36
To uninstall only the rust-caps-devel
package we can use the following command:
sudo dnf remove rust-caps-devel
rust-caps-devel Package Contents on Fedora 36
/usr/share/cargo/registry/caps-0.5.2
/usr/share/cargo/registry/caps-0.5.2/.cargo-checksum.json
/usr/share/cargo/registry/caps-0.5.2/COPYRIGHT
/usr/share/cargo/registry/caps-0.5.2/Cargo.toml
/usr/share/cargo/registry/caps-0.5.2/LICENSE-APACHE-2.0
/usr/share/cargo/registry/caps-0.5.2/LICENSE-MIT
/usr/share/cargo/registry/caps-0.5.2/README.md
/usr/share/cargo/registry/caps-0.5.2/examples
/usr/share/cargo/registry/caps-0.5.2/examples/all_caps.rs
/usr/share/cargo/registry/caps-0.5.2/examples/clear_permitted.rs
/usr/share/cargo/registry/caps-0.5.2/examples/legacy.rs
/usr/share/cargo/registry/caps-0.5.2/examples/manipulate_sys_nice.rs
/usr/share/cargo/registry/caps-0.5.2/examples/parse.rs
/usr/share/cargo/registry/caps-0.5.2/src
/usr/share/cargo/registry/caps-0.5.2/src/ambient.rs
/usr/share/cargo/registry/caps-0.5.2/src/base.rs
/usr/share/cargo/registry/caps-0.5.2/src/bounding.rs
/usr/share/cargo/registry/caps-0.5.2/src/errors.rs
/usr/share/cargo/registry/caps-0.5.2/src/lib.rs
/usr/share/cargo/registry/caps-0.5.2/src/nr.rs
/usr/share/cargo/registry/caps-0.5.2/src/runtime.rs
/usr/share/cargo/registry/caps-0.5.2/src/securebits.rs
/usr/share/cargo/registry/caps-0.5.2/tests
/usr/share/cargo/registry/caps-0.5.2/tests/ambient.rs
/usr/share/cargo/registry/caps-0.5.2/tests/bounding.rs
/usr/share/cargo/registry/caps-0.5.2/tests/effective.rs
/usr/share/cargo/registry/caps-0.5.2/tests/runtime.rs
/usr/share/cargo/registry/caps-0.5.2/tests/securebits.rs
/usr/share/doc/rust-caps-devel
/usr/share/doc/rust-caps-devel/README.md
/usr/share/licenses/rust-caps-devel
/usr/share/licenses/rust-caps-devel/COPYRIGHT
/usr/share/licenses/rust-caps-devel/LICENSE-APACHE-2.0
/usr/share/licenses/rust-caps-devel/LICENSE-MIT
References
Summary
In this tutorial we learn how to install rust-caps-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).