LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-29-2007, 06:05 AM   #1
tuffsach
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
rjlee
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:28 PM.

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