How To Install ipset.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install ipset.x86_64
on Amazon Linux 2.
What is ipset.x86_64
IP sets are a framework inside the Linux kernel since version 2.4.x, which can be administered by the ipset utility. Depending on the type, currently an IP set may store IP addresses, (TCP/UDP) port numbers or IP addresses with MAC addresses in a way, which ensures lightning speed when matching an entry against a set. If you want to - store multiple IP addresses or port numbers and match against the collection by iptables at one swoop; - dynamically update iptables rules against IP addresses or ports without performance penalty; - express complex IP address and ports based rulesets with one single iptables rule and benefit from the speed of IP sets then ipset may be the proper tool for you.
We can use yum
to install ipset.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ipset.x86_64.
Install ipset.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 ipset.x86_64
using yum
by running the following command:
sudo yum -y install ipset.x86_64
How To Uninstall ipset.x86_64 on Amazon Linux 2
To uninstall only the ipset.x86_64
package we can use the following command:
sudo yum remove ipset.x86_64
ipset.x86_64 Package Contents on Amazon Linux 2
/usr/sbin/ipset
/usr/share/doc/ipset-6.29
/usr/share/doc/ipset-6.29/COPYING
/usr/share/doc/ipset-6.29/ChangeLog
/usr/share/man/man8/ipset.8.gz
References
Summary
In this tutorial we learn how to install ipset.x86_64
on Amazon Linux 2 using yum.