How To Install libseccomp.i686 on Amazon Linux 2

In this tutorial we learn how to install libseccomp.i686 in Amazon Linux 2. libseccomp.i686 is Enhanced seccomp library

Introduction

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

What is libseccomp.i686

The libseccomp library provides an easy to use interface to the Linux Kernel’s syscall filtering mechanism, seccomp. The libseccomp API allows an application to specify which syscalls, and optionally which syscall arguments, the application is allowed to execute, all of which are enforced by the Linux Kernel.

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

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

sudo yum -y install libseccomp.i686

How To Uninstall libseccomp.i686 on Amazon Linux 2

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

sudo yum remove libseccomp.i686

libseccomp.i686 Package Contents on Amazon Linux 2

/usr/lib/libseccomp.so.2
/usr/lib/libseccomp.so.2.4.1
/usr/share/doc/libseccomp-2.4.1
/usr/share/doc/libseccomp-2.4.1/CHANGELOG
/usr/share/doc/libseccomp-2.4.1/CREDITS
/usr/share/doc/libseccomp-2.4.1/README.md
/usr/share/licenses/libseccomp-2.4.1
/usr/share/licenses/libseccomp-2.4.1/LICENSE

References

Summary

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