How To Install rust-protoc-devel on Fedora 36

In this tutorial we learn how to install rust-protoc-devel in Fedora 36. rust-protoc-devel is Protobuf protoc command as API

Introduction

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

What is rust-protoc-devel

Protobuf protoc command as API. This package contains library source intended for building other packages which use “protoc” crate.

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

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

sudo dnf -y install rust-protoc-devel

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

sudo yum -y install rust-protoc-devel

How To Uninstall rust-protoc-devel on Fedora 36

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

sudo dnf remove rust-protoc-devel

rust-protoc-devel Package Contents on Fedora 36

/usr/share/cargo/registry/protoc-2.25.2
/usr/share/cargo/registry/protoc-2.25.2/.cargo-checksum.json
/usr/share/cargo/registry/protoc-2.25.2/Cargo.toml
/usr/share/cargo/registry/protoc-2.25.2/LICENSE.txt
/usr/share/cargo/registry/protoc-2.25.2/README.md
/usr/share/cargo/registry/protoc-2.25.2/src
/usr/share/cargo/registry/protoc-2.25.2/src/lib.rs
/usr/share/cargo/registry/protoc-2.25.2/test.sh
/usr/share/doc/rust-protoc-devel
/usr/share/doc/rust-protoc-devel/README.md
/usr/share/licenses/rust-protoc-devel
/usr/share/licenses/rust-protoc-devel/LICENSE.txt

References

Summary

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