Install flex and bison on ubuntu

if flex and bison packages are not available in synaptic package manager, then how can flex and bison be installed in ubuntu 10.04? and if I download any of these packages, can you just tell me how to use them so that they become available in the synaptic package manager?

+5
source share
2 answers

Better:

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*/
+5
source

Download src, for example. bison from http://ftp.gnu.org/gnu/bison/ and then do normal

./configure
make
sudo make install

Download flexfrom https://github.com/westes/flex/releases

+3
source

All Articles