How To Install libofa-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libofa-devel.x86_64 in Amazon Linux 2. libofa-devel.x86_64 is Development headers and libraries for libofa

Introduction

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

What is libofa-devel.x86_64

Development headers and libraries for libofa.

We can use yum to install libofa-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 libofa-devel.x86_64.

Install libofa-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 libofa-devel.x86_64 using yum by running the following command:

sudo yum -y install libofa-devel.x86_64

How To Uninstall libofa-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libofa-devel.x86_64

libofa-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/ofa1
/usr/include/ofa1/ofa.h
/usr/lib64/libofa.so
/usr/lib64/pkgconfig/libofa.pc
/usr/share/doc/libofa-devel-0.9.3
/usr/share/doc/libofa-devel-0.9.3/examples
/usr/share/doc/libofa-devel-0.9.3/examples/COPYING
/usr/share/doc/libofa-devel-0.9.3/examples/Makefile.am
/usr/share/doc/libofa-devel-0.9.3/examples/Makefile.in
/usr/share/doc/libofa-devel-0.9.3/examples/example.cpp
/usr/share/doc/libofa-devel-0.9.3/examples/protocol.cpp
/usr/share/doc/libofa-devel-0.9.3/examples/protocol.cpp.curl
/usr/share/doc/libofa-devel-0.9.3/examples/protocol.h
/usr/share/doc/libofa-devel-0.9.3/examples/uselame.cpp
/usr/share/doc/libofa-devel-0.9.3/examples/uselame.cpp.gcc47
/usr/share/doc/libofa-devel-0.9.3/examples/wavefile.cpp
/usr/share/doc/libofa-devel-0.9.3/examples/wavefile.cpp.gcc47

References

Summary

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