How To Install rust-protoc-rust-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-protoc-rust-devel
on Fedora 36.
What is rust-protoc-rust-devel
Protoc –rust_out=… available as API. protoc needs to be in $PATH, protoc- gen-run does not. This package contains library source intended for building other packages which use “protoc-rust” crate.
We can use yum
or dnf
to install rust-protoc-rust-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-protoc-rust-devel.
Install rust-protoc-rust-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-rust-devel
using dnf
by running the following command:
sudo dnf -y install rust-protoc-rust-devel
Install rust-protoc-rust-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-rust-devel
using yum
by running the following command:
sudo yum -y install rust-protoc-rust-devel
How To Uninstall rust-protoc-rust-devel on Fedora 36
To uninstall only the rust-protoc-rust-devel
package we can use the following command:
sudo dnf remove rust-protoc-rust-devel
rust-protoc-rust-devel Package Contents on Fedora 36
/usr/share/cargo/registry/protoc-rust-2.25.2
/usr/share/cargo/registry/protoc-rust-2.25.2/.cargo-checksum.json
/usr/share/cargo/registry/protoc-rust-2.25.2/Cargo.toml
/usr/share/cargo/registry/protoc-rust-2.25.2/LICENSE.txt
/usr/share/cargo/registry/protoc-rust-2.25.2/README.md
/usr/share/cargo/registry/protoc-rust-2.25.2/src
/usr/share/cargo/registry/protoc-rust-2.25.2/src/lib.rs
/usr/share/cargo/registry/protoc-rust-2.25.2/src/slashes.rs
/usr/share/doc/rust-protoc-rust-devel
/usr/share/doc/rust-protoc-rust-devel/README.md
/usr/share/licenses/rust-protoc-rust-devel
/usr/share/licenses/rust-protoc-rust-devel/LICENSE.txt
References
Summary
In this tutorial we learn how to install rust-protoc-rust-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).