LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 07: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, 09:12 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 69
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


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


All times are GMT -5. The time now is 10:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration