Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to download lex and lex.yy.c and yacc in ubuntu9.10 ?

share|improve this question

migrated from Mar 17 '10 at 18:01

This question came from our site for professional and enthusiast programmers.

Haha, don't think you don't get enough attention on Stack Overflow – Harmen Mar 17 '10 at 17:40
Are you trying to download it once, twice, or three times? – Larry Lustig Mar 17 '10 at 17:46

2 Answers 2

sudo apt-get install flex bison

lex.yy.c will be generated by flex.

share|improve this answer

Lex and yacc (as such) are basically obsolete. You probably want Flex and byacc. lex.yy.c is a file created by [F]lex based on the lexer specification you input.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.