How To Install protobuf-devel.x86_64 on Amazon Linux 2
In this tutorial we learn how to install protobuf-devel.x86_64 in Amazon Linux 2. protobuf-devel.x86_64 is Protocol Buffers C++ headers and libraries
Introduction
In this tutorial we learn how to install protobuf-devel.x86_64
on Amazon Linux 2.
What is protobuf-devel.x86_64
This package contains Protocol Buffers compiler for all languages and C++ headers and libraries
We can use yum
to install protobuf-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-devel.x86_64.
Install protobuf-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-devel.x86_64
using yum
by running the following command:
sudo yum -y install protobuf-devel.x86_64
How To Uninstall protobuf-devel.x86_64 on Amazon Linux 2
To uninstall only the protobuf-devel.x86_64
package we can use the following command:
sudo yum remove protobuf-devel.x86_64
protobuf-devel.x86_64 Package Contents on Amazon Linux 2
/usr/include/google
/usr/include/google/protobuf
/usr/include/google/protobuf/compiler
/usr/include/google/protobuf/compiler/code_generator.h
/usr/include/google/protobuf/compiler/command_line_interface.h
/usr/include/google/protobuf/compiler/cpp
/usr/include/google/protobuf/compiler/cpp/cpp_generator.h
/usr/include/google/protobuf/compiler/importer.h
/usr/include/google/protobuf/compiler/java
/usr/include/google/protobuf/compiler/java/java_generator.h
/usr/include/google/protobuf/compiler/parser.h
/usr/include/google/protobuf/compiler/plugin.h
/usr/include/google/protobuf/compiler/plugin.pb.h
/usr/include/google/protobuf/compiler/plugin.proto
/usr/include/google/protobuf/compiler/python
/usr/include/google/protobuf/compiler/python/python_generator.h
/usr/include/google/protobuf/descriptor.h
/usr/include/google/protobuf/descriptor.pb.h
/usr/include/google/protobuf/descriptor.proto
/usr/include/google/protobuf/descriptor_database.h
/usr/include/google/protobuf/dynamic_message.h
/usr/include/google/protobuf/extension_set.h
/usr/include/google/protobuf/generated_enum_reflection.h
/usr/include/google/protobuf/generated_message_reflection.h
/usr/include/google/protobuf/generated_message_util.h
/usr/include/google/protobuf/io
/usr/include/google/protobuf/io/coded_stream.h
/usr/include/google/protobuf/io/gzip_stream.h
/usr/include/google/protobuf/io/printer.h
/usr/include/google/protobuf/io/tokenizer.h
/usr/include/google/protobuf/io/zero_copy_stream.h
/usr/include/google/protobuf/io/zero_copy_stream_impl.h
/usr/include/google/protobuf/io/zero_copy_stream_impl_lite.h
/usr/include/google/protobuf/message.h
/usr/include/google/protobuf/message_lite.h
/usr/include/google/protobuf/reflection_ops.h
/usr/include/google/protobuf/repeated_field.h
/usr/include/google/protobuf/service.h
/usr/include/google/protobuf/stubs
/usr/include/google/protobuf/stubs/atomicops.h
/usr/include/google/protobuf/stubs/atomicops_internals_arm_gcc.h
/usr/include/google/protobuf/stubs/atomicops_internals_arm_qnx.h
/usr/include/google/protobuf/stubs/atomicops_internals_atomicword_compat.h
/usr/include/google/protobuf/stubs/atomicops_internals_generic_gcc.h
/usr/include/google/protobuf/stubs/atomicops_internals_macosx.h
/usr/include/google/protobuf/stubs/atomicops_internals_mips_gcc.h
/usr/include/google/protobuf/stubs/atomicops_internals_pnacl.h
/usr/include/google/protobuf/stubs/atomicops_internals_x86_gcc.h
/usr/include/google/protobuf/stubs/atomicops_internals_x86_msvc.h
/usr/include/google/protobuf/stubs/common.h
/usr/include/google/protobuf/stubs/once.h
/usr/include/google/protobuf/stubs/platform_macros.h
/usr/include/google/protobuf/stubs/template_util.h
/usr/include/google/protobuf/stubs/type_traits.h
/usr/include/google/protobuf/text_format.h
/usr/include/google/protobuf/unknown_field_set.h
/usr/include/google/protobuf/wire_format.h
/usr/include/google/protobuf/wire_format_lite.h
/usr/include/google/protobuf/wire_format_lite_inl.h
/usr/lib64/libprotobuf.so
/usr/lib64/libprotoc.so
/usr/lib64/pkgconfig/protobuf.pc
/usr/share/doc/protobuf-devel-2.5.0
/usr/share/doc/protobuf-devel-2.5.0/Makefile
/usr/share/doc/protobuf-devel-2.5.0/README.txt
/usr/share/doc/protobuf-devel-2.5.0/add_person.cc
/usr/share/doc/protobuf-devel-2.5.0/addressbook.proto
/usr/share/doc/protobuf-devel-2.5.0/list_people.cc
References
Summary
In this tutorial we learn how to install protobuf-devel.x86_64
on Amazon Linux 2 using yum.