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

In this tutorial we learn how to install rust-pq-sys-devel in Fedora 36. rust-pq-sys-devel is Auto-generated rust bindings for libpq

Introduction

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

What is rust-pq-sys-devel

Auto-generated rust bindings for libpq. This package contains library source intended for building other packages which use “pq-sys” crate.

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

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

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

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

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

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

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

sudo dnf remove rust-pq-sys-devel

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

/usr/share/cargo/registry/pq-sys-0.4.6
/usr/share/cargo/registry/pq-sys-0.4.6/.cargo-checksum.json
/usr/share/cargo/registry/pq-sys-0.4.6/CHANGELOG.md
/usr/share/cargo/registry/pq-sys-0.4.6/Cargo.toml
/usr/share/cargo/registry/pq-sys-0.4.6/LICENSE-APACHE
/usr/share/cargo/registry/pq-sys-0.4.6/LICENSE-MIT
/usr/share/cargo/registry/pq-sys-0.4.6/README.md
/usr/share/cargo/registry/pq-sys-0.4.6/appveyor.yml
/usr/share/cargo/registry/pq-sys-0.4.6/build.rs
/usr/share/cargo/registry/pq-sys-0.4.6/src
/usr/share/cargo/registry/pq-sys-0.4.6/src/lib.rs
/usr/share/cargo/registry/pq-sys-0.4.6/tests
/usr/share/cargo/registry/pq-sys-0.4.6/tests/smoke.rs

References

Summary

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