Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-29-2007, 06:05 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
no entry for lex and yacc (using ubuntu)

hey im tryin a lex / yacc program but have no entry for da same in the man pages how can i install them and from where?.im using ubuntu thanks.
Old 10-29-2007, 08:12 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
lex and yacc are closed-source programs, which you may have trouble getting and installing on Ubuntu (I've never actually tried).

You probably want to install the open-source alternatives, "bison" and "flex". These are both fully back-compatible with "yacc" and "lex", and so you should have no trouble in using them with a lex/yacc program (bison and flex are far more common than yacc and flex these days I believe).

You should be able to add these from Synaptic Package Manager; just run up the program, enter your password, search for "bison" and "flex" and tick the boxes when you see them. Then click on "Apply" and it will do the installation work for you.

Hope that helps,

—Robert J Lee


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
LEX and YACC with C gr33ndata Programming 4 11-18-2007 05:12 PM
lex and yacc tools ? vagrahb Programming 4 05-19-2006 01:38 PM
Lex and Yacc on Mandrake 9.2.2 Anuradha Linux - Software 0 07-02-2005 03:32 AM
Lex & YACC coolfrog Programming 3 09-25-2004 07:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 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
Open Source Consulting | Domain Registration