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

In this tutorial we learn how to install rust-libsystemd-sys-devel in Fedora 36. rust-libsystemd-sys-devel is FFI bindings to libsystemd and libelogind

Introduction

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

What is rust-libsystemd-sys-devel

FFI bindings to libsystemd and libelogind. This package contains library source intended for building other packages which use “libsystemd-sys” crate.

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

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

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

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

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

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

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

sudo dnf remove rust-libsystemd-sys-devel

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

/usr/share/cargo/registry/libsystemd-sys-0.9.3
/usr/share/cargo/registry/libsystemd-sys-0.9.3/.cargo-checksum.json
/usr/share/cargo/registry/libsystemd-sys-0.9.3/COPYING
/usr/share/cargo/registry/libsystemd-sys-0.9.3/Cargo.toml
/usr/share/cargo/registry/libsystemd-sys-0.9.3/README.md
/usr/share/cargo/registry/libsystemd-sys-0.9.3/build.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/bus
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/bus/mod.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/bus/protocol.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/bus/vtable.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/daemon.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/event.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/id128.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/journal.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/lib.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/src/login.rs
/usr/share/cargo/registry/libsystemd-sys-0.9.3/tests
/usr/share/cargo/registry/libsystemd-sys-0.9.3/tests/journal-send.rs
/usr/share/doc/rust-libsystemd-sys-devel
/usr/share/doc/rust-libsystemd-sys-devel/README.md
/usr/share/licenses/rust-libsystemd-sys-devel
/usr/share/licenses/rust-libsystemd-sys-devel/COPYING

References

Summary

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