How To Install rust-cryptoki-sys-devel on Fedora 36

In this tutorial we learn how to install rust-cryptoki-sys-devel in Fedora 36. rust-cryptoki-sys-devel is FFI wrapper around the PKCS #11 API

Introduction

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

What is rust-cryptoki-sys-devel

FFI wrapper around the PKCS #11 API. This package contains library source intended for building other packages which use the “cryptoki-sys” crate.

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

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

sudo dnf -y install rust-cryptoki-sys-devel

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

sudo yum -y install rust-cryptoki-sys-devel

How To Uninstall rust-cryptoki-sys-devel on Fedora 36

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

sudo dnf remove rust-cryptoki-sys-devel

rust-cryptoki-sys-devel Package Contents on Fedora 36

/usr/share/cargo/registry/cryptoki-sys-0.1.3
/usr/share/cargo/registry/cryptoki-sys-0.1.3/.cargo-checksum.json
/usr/share/cargo/registry/cryptoki-sys-0.1.3/Cargo.toml
/usr/share/cargo/registry/cryptoki-sys-0.1.3/LICENSE
/usr/share/cargo/registry/cryptoki-sys-0.1.3/README.md
/usr/share/cargo/registry/cryptoki-sys-0.1.3/build.rs
/usr/share/cargo/registry/cryptoki-sys-0.1.3/pkcs11.h
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/bindings
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/bindings/aarch64-unknown-linux-gnu.rs
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/bindings/arm-unknown-linux-gnueabi.rs
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/bindings/i686-unknown-linux-gnu.rs
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/bindings/powerpc64-unknown-linux-gnu.rs
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/bindings/x86_64-unknown-darwin.rs
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/bindings/x86_64-unknown-linux-gnu.rs
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/bindings/x86_64-windows.rs
/usr/share/cargo/registry/cryptoki-sys-0.1.3/src/lib.rs

References

Summary

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