How To Install rust-onig_sys-devel on Fedora 36
onig_sys crate contains raw rust bindings to the oniguruma libraryIntroduction
In this tutorial we learn how to install rust-onig_sys-devel on Fedora 36.
What is rust-onig_sys-devel
onig_syscrate contains raw rust bindings to the oniguruma library. This crate exposes a set of unsafe functions which can then be used by other crates to create safe wrappers around Oniguruma. You probably don’t want to link to this crate directly; instead check out theonigcrate. This package contains library source intended for building other packages which use “onig_sys” crate.
We can use yum or dnf to install rust-onig_sys-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-onig_sys-devel.
Install rust-onig_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-onig_sys-devel using dnf by running the following command:
sudo dnf -y install rust-onig_sys-devel
Install rust-onig_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-onig_sys-devel using yum by running the following command:
sudo yum -y install rust-onig_sys-devel
How To Uninstall rust-onig_sys-devel on Fedora 36
To uninstall only the rust-onig_sys-devel package we can use the following command:
sudo dnf remove rust-onig_sys-devel
rust-onig_sys-devel Package Contents on Fedora 36
/usr/share/cargo/registry/onig_sys-69.7.1
/usr/share/cargo/registry/onig_sys-69.7.1/.cargo-checksum.json
/usr/share/cargo/registry/onig_sys-69.7.1/Cargo.toml
/usr/share/cargo/registry/onig_sys-69.7.1/LICENSE.md
/usr/share/cargo/registry/onig_sys-69.7.1/build.rs
/usr/share/cargo/registry/onig_sys-69.7.1/src
/usr/share/cargo/registry/onig_sys-69.7.1/src/bindgened.rs
/usr/share/cargo/registry/onig_sys-69.7.1/src/ffi.rs
/usr/share/cargo/registry/onig_sys-69.7.1/src/lib.rs
/usr/share/licenses/rust-onig_sys-devel
/usr/share/licenses/rust-onig_sys-devel/LICENSE.md
References
Summary
In this tutorial we learn how to install rust-onig_sys-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).