How to install grepcidr on Amazon Linux
Filter IPv4 and IPv6 addresses matching CIDR patterns
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 2.0 |
Description
The grepcidr utility can be used to filter a list of IP addresses against one or more Classless Inter-Domain Routing (CIDR) specifications. As with grep, there are options to invert matching and load patterns from a file. It is capable of efficiently processing large numbers of IPs and networks.
Built for Amazon Linux.
Install
grepcidr on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install grepcidr
Package downloads require an active GetPageSpeed subscription — one repository for grepcidr and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install grepcidr on Amazon Linux?
Add the GetPageSpeed repository, then install the grepcidr package with your system package manager.
Which Amazon Linux versions is grepcidr available for?
grepcidr is available for Amazon Linux 2.