How To Install ebtables.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ebtables.x86_64 in Amazon Linux 2. ebtables.x86_64 is Ethernet Bridge frame table administration tool

Introduction

In this tutorial we learn how to install ebtables.x86_64 on Amazon Linux 2.

What is ebtables.x86_64

Ethernet bridge tables is a firewalling tool to transparently filter network traffic passing a bridge. The filtering possibilities are limited to link layer filtering and some basic filtering on higher network layers. This tool is the userspace control for the bridge and ebtables kernel components. The ebtables tool can be used together with the other Linux filtering tools, like iptables. There are no known incompatibility issues.

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

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

sudo yum -y install ebtables.x86_64

How To Uninstall ebtables.x86_64 on Amazon Linux 2

To uninstall only the ebtables.x86_64 package we can use the following command:

sudo yum remove ebtables.x86_64

ebtables.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/ebtables-config
/etc/sysconfig/ebtables.broute
/etc/sysconfig/ebtables.filter
/etc/sysconfig/ebtables.nat
/lib64/ebtables
/lib64/ebtables/libebt_802_3.so
/lib64/ebtables/libebt_AUDIT.so
/lib64/ebtables/libebt_among.so
/lib64/ebtables/libebt_arp.so
/lib64/ebtables/libebt_arpreply.so
/lib64/ebtables/libebt_ip.so
/lib64/ebtables/libebt_ip6.so
/lib64/ebtables/libebt_limit.so
/lib64/ebtables/libebt_log.so
/lib64/ebtables/libebt_mark.so
/lib64/ebtables/libebt_mark_m.so
/lib64/ebtables/libebt_nat.so
/lib64/ebtables/libebt_nflog.so
/lib64/ebtables/libebt_pkttype.so
/lib64/ebtables/libebt_redirect.so
/lib64/ebtables/libebt_standard.so
/lib64/ebtables/libebt_stp.so
/lib64/ebtables/libebt_ulog.so
/lib64/ebtables/libebt_vlan.so
/lib64/ebtables/libebtable_broute.so
/lib64/ebtables/libebtable_filter.so
/lib64/ebtables/libebtable_nat.so
/lib64/libebtc.so
/sbin/ebtables
/sbin/ebtables-restore
/sbin/ebtables-save
/usr/lib/systemd/system/ebtables.service
/usr/libexec/ebtables
/usr/share/doc/ebtables-2.0.10
/usr/share/doc/ebtables-2.0.10/COPYING
/usr/share/doc/ebtables-2.0.10/ChangeLog
/usr/share/doc/ebtables-2.0.10/THANKS
/usr/share/man/man8/ebtables.8.gz

References

Summary

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