[Linux] How To Install Flex

Flex (Fast Lexical Analyser) is a free tool for generating scanners, alternative to lex. In this post we will see how install Flex in Linux.

For Fedora:

Install C Compiler (GCC):

$ sudo yum install -y gcc

Install Flex:

$ sudo yum install -y flex

For Debian/Ubuntu:

Install C Compiler (GCC):

$ sudo apt-get install gcc

Install Flex:

$ sudo apt-get install flex

Enjoy !

Advertisements

Tagged: , , ,

One thought on “[Linux] How To Install Flex

  1. Gabriel April 18, 2016 at 10:58 pm Reply

    Thanks Brother!
    You are Awezomee!!!!!

Leave a Reply :

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: