How To Install protobuf-c-compiler on Fedora 36

In this tutorial we learn how to install protobuf-c-compiler in Fedora 36. protobuf-c-compiler is Protocol Buffers C compiler

Introduction

In this tutorial we learn how to install protobuf-c-compiler on Fedora 36.

What is protobuf-c-compiler

This package contains a modified version of the Protocol Buffers compiler for the C programming language called protoc-c.

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

Install protobuf-c-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-c-compiler using dnf by running the following command:

sudo dnf -y install protobuf-c-compiler

Install protobuf-c-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-c-compiler using yum by running the following command:

sudo yum -y install protobuf-c-compiler

How To Uninstall protobuf-c-compiler on Fedora 36

To uninstall only the protobuf-c-compiler package we can use the following command:

sudo dnf remove protobuf-c-compiler

protobuf-c-compiler Package Contents on Fedora 36

/usr/bin/protoc-c
/usr/bin/protoc-gen-c
/usr/lib/.build-id
/usr/lib/.build-id/75
/usr/lib/.build-id/75/51bb6008f15a21ea14b9f0f45ffcd1e5e5c9ec

References

Summary

In this tutorial we learn how to install protobuf-c-compiler on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install protobuf-c-compiler on Fedora 36” linkTitle: “protobuf-c-compiler” type: “docs” description: “In this tutorial we learn how to install protobuf-c-compiler in Fedora 36. protobuf-c-compiler is Protocol Buffers C compiler” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/protobuf-c-compiler-featured.png

Introduction

In this tutorial we learn how to install protobuf-c-compiler on Fedora 36.

What is protobuf-c-compiler

This package contains a modified version of the Protocol Buffers compiler for the C programming language called protoc-c.

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

Install protobuf-c-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-c-compiler using dnf by running the following command:

sudo dnf -y install protobuf-c-compiler

Install protobuf-c-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-c-compiler using yum by running the following command:

sudo yum -y install protobuf-c-compiler

How To Uninstall protobuf-c-compiler on Fedora 36

To uninstall only the protobuf-c-compiler package we can use the following command:

sudo dnf remove protobuf-c-compiler

protobuf-c-compiler Package Contents on Fedora 36

/usr/bin/protoc-c
/usr/bin/protoc-gen-c
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/5fa192d3512a3ea4901b19870f768880929608

References

Summary

In this tutorial we learn how to install protobuf-c-compiler on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).