How To Install libbpf.i686 on Amazon Linux 2

In this tutorial we learn how to install libbpf.i686 in Amazon Linux 2. libbpf.i686 is Libbpf library

Introduction

In this tutorial we learn how to install libbpf.i686 on Amazon Linux 2.

What is libbpf.i686

A mirror of bpf-next linux tree bpf-next/tools/lib/bpf directory plus its supporting header files. The version of the package reflects the version of ABI.

We can use yum to install libbpf.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libbpf.i686.

Install libbpf.i686 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 libbpf.i686 using yum by running the following command:

sudo yum -y install libbpf.i686

How To Uninstall libbpf.i686 on Amazon Linux 2

To uninstall only the libbpf.i686 package we can use the following command:

sudo yum remove libbpf.i686

libbpf.i686 Package Contents on Amazon Linux 2

/usr/lib/libbpf.so.0
/usr/lib/libbpf.so.0.3.0

References

Summary

In this tutorial we learn how to install libbpf.i686 on Amazon Linux 2 using yum.