LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 09-20-2005, 06:41 AM   #1
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Rep: Reputation: 30
lex & yacc installation


I'm new to using linux,
i have ubuntu 5.04.
i got to know that flex & bison must be installed to work on lex & yacc programs.
i'm having flex & bison on a floppy, but how do i install it in linux??
 
Old 10-10-2005, 10:13 PM   #2
geniusdreams
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Question hi even i want to know..

did u get the solution for the installation process of lex and yacc?
please let me know if u have found it. i have fedora 4 and no where i can see lex or yacc installed.
thanks buddy.
 
Old 10-12-2005, 02:13 AM   #3
jayanthorb
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Rep: Reputation: 0
I can direct you to install those.. Just let me know if you are able to access the internet from Linux.. If so most of the files are easily available and easy to install as well..
 
Old 10-12-2005, 02:21 AM   #4
jayanthorb
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Rep: Reputation: 0
You both must be having the follow files..

Of the format .tar.gz

Try the following steps..

1. Copy the files from your floppy* to your home directory(preferably)
2. Open the terminal..
3. Locate the directory in which these files are present and use the following command..

tar -xzf <filename.tar.gz>

4. Theoretically, the above command will create a directory with the same name as the filename minus the extension.

5. Use CD and enter the directory..

6. Use the ls command to list all the files in that directory..

7. You will have to run these commands (if they exist) at the terminal prompt..

$ ./configure
$ ./install
$ ./make install
$ ./makefile

8. Run the above commands in that order according to their existence when you do ls..

9. Your programs are INSTALLED

* I hope you know how to mount the floppy drive.. If not, read this

http://www.linuxquestions.org/questi...t=Floppy+mount
 
  


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
LEX and YACC with C gr33ndata Programming 4 11-18-2007 06:12 PM
how to work on lex & yacc? sharathg786 Ubuntu 2 09-13-2005 05:52 AM
Lex & YACC coolfrog Programming 3 09-25-2004 08:00 AM
Lex & yacc programming in windows. hemanexp Linux - Software 1 01-09-2004 06:41 AM
Lex & yacc Programming in linux. hemanexp Linux - Software 2 01-07-2004 12:09 PM


All times are GMT -5. The time now is 10:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration