How To Install rust-magic-crypt-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-magic-crypt-devel
on Fedora 36.
What is rust-magic-crypt-devel
MagicCrypt is a Java/PHP/NodeJS/Rust library to encrypt/decrpyt strings, files, or data, using Data Encryption Standard(DES) or Advanced Encryption Standard(AES) algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, 192 or 256-bits key length. This package contains library source intended for building other packages which use the “magic-crypt” crate.
We can use yum
or dnf
to install rust-magic-crypt-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-magic-crypt-devel.
Install rust-magic-crypt-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-magic-crypt-devel
using dnf
by running the following command:
sudo dnf -y install rust-magic-crypt-devel
Install rust-magic-crypt-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-magic-crypt-devel
using yum
by running the following command:
sudo yum -y install rust-magic-crypt-devel
How To Uninstall rust-magic-crypt-devel on Fedora 36
To uninstall only the rust-magic-crypt-devel
package we can use the following command:
sudo dnf remove rust-magic-crypt-devel
rust-magic-crypt-devel Package Contents on Fedora 36
/usr/share/cargo/registry/magic-crypt-3.1.10
/usr/share/cargo/registry/magic-crypt-3.1.10/.cargo-checksum.json
/usr/share/cargo/registry/magic-crypt-3.1.10/Cargo.toml
/usr/share/cargo/registry/magic-crypt-3.1.10/LICENSE
/usr/share/cargo/registry/magic-crypt-3.1.10/README.md
/usr/share/cargo/registry/magic-crypt-3.1.10/src
/usr/share/cargo/registry/magic-crypt-3.1.10/src/ciphers
/usr/share/cargo/registry/magic-crypt-3.1.10/src/ciphers/aes128.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/ciphers/aes192.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/ciphers/aes256.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/ciphers/des64.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/ciphers/mod.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/errors.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/functions.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/lib.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/macros.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/secure_bit.rs
/usr/share/cargo/registry/magic-crypt-3.1.10/src/traits.rs
References
Summary
In this tutorial we learn how to install rust-magic-crypt-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).