Installation of Flex Install Flex by running the following commands:
./configure --prefix=/usr && make && make install && cd /usr/bin && ln -s flex lex