View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 10-28-2010, 07:19 AM   #1
LQ Newbie
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Lex and Yacc programs in Ubuntu

How can we run Lex and Yacc programs in ubuntu ? What are the packages we have to install for working lex and yacc ?
Old 10-28-2010, 07:25 AM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
system > administration > synaptic

search for lex and yacc

you want flex and bison ... installing those packages will also install their dependencies. What else you may need will depend on the project.
Old 10-28-2010, 07:26 AM   #3
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,380
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
The equivalents are flex (BSD license) and bison (GNU GPL). If you need POSIX compatibility with lex and yacc, you should consider using flex-old (and/or the '-l' option), and the bison '--yacc' option.

Last edited by neonsignal; 10-28-2010 at 07:35 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
does ubuntu have lex and yacc,how to use them?? akshay_jp Linux - Software 4 05-26-2010 06:36 PM
how do compile lex and yacc programs in rhel4 ?? birds Linux - Newbie 3 05-31-2009 04:21 AM
how do compile lex and yacc programs in rhel4 ?? birds Linux - Software 1 05-30-2009 10:56 PM
can i execute Lex and Yacc programs from remote terminal SuMoNiNa Linux - Newbie 1 07-05-2008 09:31 AM
no entry for lex and yacc (using ubuntu) tuffsach Linux - Newbie 1 10-29-2007 08:12 AM

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration