How To Install rust-cryptoki-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-cryptoki-devel
on Fedora 36.
What is rust-cryptoki-devel
Rust-native wrapper around the PKCS #11 API. This package contains library source intended for building other packages which use the “cryptoki” crate.
We can use yum
or dnf
to install rust-cryptoki-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-cryptoki-devel.
Install rust-cryptoki-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-cryptoki-devel
using dnf
by running the following command:
sudo dnf -y install rust-cryptoki-devel
Install rust-cryptoki-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-cryptoki-devel
using yum
by running the following command:
sudo yum -y install rust-cryptoki-devel
How To Uninstall rust-cryptoki-devel on Fedora 36
To uninstall only the rust-cryptoki-devel
package we can use the following command:
sudo dnf remove rust-cryptoki-devel
rust-cryptoki-devel Package Contents on Fedora 36
/usr/share/cargo/registry/cryptoki-0.2.1
/usr/share/cargo/registry/cryptoki-0.2.1/.cargo-checksum.json
/usr/share/cargo/registry/cryptoki-0.2.1/Cargo.toml
/usr/share/cargo/registry/cryptoki-0.2.1/LICENSE
/usr/share/cargo/registry/cryptoki-0.2.1/README.md
/usr/share/cargo/registry/cryptoki-0.2.1/src
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/decryption.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/encryption.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/general_purpose.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/key_management.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/mod.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/object_management.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/session_management.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/signing_macing.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/functions/slot_token_management.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/lib.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/objects
/usr/share/cargo/registry/cryptoki-0.2.1/src/objects/mod.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/function.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/locking.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/mechanism
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/mechanism/elliptic_curve.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/mechanism/mod.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/mechanism/rsa.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/mod.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/object.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/session.rs
/usr/share/cargo/registry/cryptoki-0.2.1/src/types/slot_token.rs
/usr/share/cargo/registry/cryptoki-0.2.1/tests
/usr/share/cargo/registry/cryptoki-0.2.1/tests/basic.rs
/usr/share/cargo/registry/cryptoki-0.2.1/tests/common.rs
References
Summary
In this tutorial we learn how to install rust-cryptoki-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).