How To Install protobuf-compiler on Fedora 36
Introduction
In this tutorial we learn how to install protobuf-compiler
on Fedora 36.
What is protobuf-compiler
This package contains Protocol Buffers compiler for all programming languages
We can use yum
or dnf
to install protobuf-compiler
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install protobuf-compiler.
Install protobuf-compiler 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 protobuf-compiler
using dnf
by running the following command:
sudo dnf -y install protobuf-compiler
Install protobuf-compiler 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 protobuf-compiler
using yum
by running the following command:
sudo yum -y install protobuf-compiler
How To Uninstall protobuf-compiler on Fedora 36
To uninstall only the protobuf-compiler
package we can use the following command:
sudo dnf remove protobuf-compiler
protobuf-compiler Package Contents on Fedora 36
---
title: "How To Install protobuf-compiler on Fedora 36"
linkTitle: "protobuf-compiler"
type: "docs"
description: "In this tutorial we learn how to install protobuf-compiler in Fedora 36. protobuf-compiler is Protocol Buffers compiler"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/protobuf-compiler-featured.png
---
## Introduction
In this tutorial we learn how to install `protobuf-compiler` on Fedora 36.
### What is `protobuf-compiler`
> This package contains Protocol Buffers compiler for all programming languages
We can use `yum` or `dnf` to install `protobuf-compiler` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install protobuf-compiler.
## Install protobuf-compiler on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install protobuf-compiler
using dnf
by running the following command:
sudo dnf -y install protobuf-compiler
Install protobuf-compiler 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 protobuf-compiler
using yum
by running the following command:
sudo yum -y install protobuf-compiler
How To Uninstall protobuf-compiler on Fedora 36
To uninstall only the protobuf-compiler
package we can use the following command:
sudo dnf remove protobuf-compiler
protobuf-compiler Package Contents on Fedora 36
/usr/bin/protoc
/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/c700322ecfb7c4f497751e7c355c0a2335c021
/usr/lib/.build-id/45
/usr/lib/.build-id/45/08a66b64adb56ba2abd979587ff83899b8a0b8
/usr/lib64/libprotoc.so.30
/usr/lib64/libprotoc.so.30.0.4
/usr/share/doc/protobuf-compiler
/usr/share/doc/protobuf-compiler/README.md
/usr/share/licenses/protobuf-compiler
/usr/share/licenses/protobuf-compiler/LICENSE
References
Summary
In this tutorial we learn how to install protobuf-compiler
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/protoc /usr/lib/.build-id /usr/lib/.build-id/24 /usr/lib/.build-id/24/70d0296a4feef1cbac9b73eedb4bc49deaca11 /usr/lib/.build-id/de /usr/lib/.build-id/de/47a58080bd2f5b2d6797107435267a86fa51a5 /usr/lib/libprotoc.so.30 /usr/lib/libprotoc.so.30.0.4 /usr/share/doc/protobuf-compiler /usr/share/doc/protobuf-compiler/README.md /usr/share/licenses/protobuf-compiler /usr/share/licenses/protobuf-compiler/LICENSE
## References
* [protobuf-compiler website](https://github.com/protocolbuffers/protobuf)
## Summary
In this tutorial we learn how to install `protobuf-compiler` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).