7
Thanks

A few words of thanks would be greatly appreciated.

How To Install Flex and Bison Under Ubuntu


Flex and Bison are Unix utilities that can help you to write very fast parsers for arbitrary file formats. If your synaptic package manager currently does not include these packages, you can install Flex and Bison through a simple terminal command.


N.B.This method is specific to Ubuntu 10.4 but should also work for later versions.

Installation of Flex and Bison in Ubuntu

Open a terminal by pressing [CTRL] + [ALT] + T. Then, type one of the the following commands.

This command is more basic:

sudo apt-get update 
sudo apt-get upgrade
sudo apt-get install flex bison

This command is a bit more specific:

sudo apt-get update
sudo apt-get install flex
sudo apt-get install bison

which flex /*Sanity check to make sure flex is installed*/
which bison /*Sanity check to make sure bison is installed*/

Image: © Ubuntu.
7
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Related

Published by . Latest update on by Olivia Long.

This document, titled "How To Install Flex and Bison Under Ubuntu," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).

0 Comments