flex

Lexical analyzer generator. A rewrite of lex with extensions to the POSIX specification. Given the specification for a lexical analyzer, generates C code implementing it. NOTE: long options don't work on OpenBSD. More information: <https://manned.org/flex>.

Debian Debian
RUN apt-get update && \ apt-get install -y flex
Ubuntu
RUN apt-get update && \ apt-get install -y flex
Alpine
RUN apk add flex
Arch Arch Linux
RUN pacman -S --noconfirm flex
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y flex
CentOS
RUN yum install -y flex
Fedora
RUN dnf install -y flex
Raspbian
RUN apt-get update && \ apt-get install -y flex
click the source code to copy install flex on any operating system with command-not-found.com