How To Install protobuf-c-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install protobuf-c-devel.x86_64 in Amazon Linux 2. protobuf-c-devel.x86_64 is Protocol Buffers C headers and libraries

Introduction

In this tutorial we learn how to install protobuf-c-devel.x86_64 on Amazon Linux 2.

What is protobuf-c-devel.x86_64

This package contains protobuf-c headers and libraries.

We can use yum to install protobuf-c-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install protobuf-c-devel.x86_64.

Install protobuf-c-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install protobuf-c-devel.x86_64 using yum by running the following command:

sudo yum -y install protobuf-c-devel.x86_64

How To Uninstall protobuf-c-devel.x86_64 on Amazon Linux 2

To uninstall only the protobuf-c-devel.x86_64 package we can use the following command:

sudo yum remove protobuf-c-devel.x86_64

protobuf-c-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/google
/usr/include/google/protobuf-c
/usr/include/google/protobuf-c/protobuf-c.h
/usr/include/protobuf-c
/usr/include/protobuf-c/protobuf-c.h
/usr/lib64/libprotobuf-c.so
/usr/lib64/pkgconfig/libprotobuf-c.pc

References

Summary

In this tutorial we learn how to install protobuf-c-devel.x86_64 on Amazon Linux 2 using yum.