LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-19-2009, 12:22 AM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
Directories and Tar files: I'm not getting it.


I have Madriva 2008 and I'm having trouble with a few things. The software I want to use is only available in tar format. When I try to configure it the text command reads ([pete@localhost ~]$ ./configure
bash: ./configure: No such file or directory
[pete@localhost ~]$) or([root@localhost pete]# ./configure
bash: ./configure: No such file or directory
[root@localhost pete]# ).

Question 1. Is configure a shell command or is it something with the tar file.
2. If the directory I use is the desktop how does the O.S know which one of the files in the desk top directory i want to configure.

Thanks in advance
 
Old 09-19-2009, 12:26 AM   #2
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
you should untar(extract) it
Code:
tar -xvf filename.tar
then you will get a folder.. cd to that folder and then run ./configure

ps: there might be a README file in the extracted folder.. better read the file.. it describes how to install the software.

Last edited by mobinskariya; 09-19-2009 at 12:28 AM.
 
Old 09-19-2009, 01:31 AM   #3
unev_21
Member
 
Registered: Mar 2009
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 16
Talking

Quote:
Question 1. Is configure a shell command or is it something with the tar file.
configure is a usually specific to the app you want to install. The creator of the app might use GNU auto tools to generate it.

Quote:
2. If the directory I use is the desktop how does the O.S know which one of the files in the desk top directory i want to configure
Don't worry, 'configure' & 'make install' will figure that out!

Last edited by unev_21; 09-19-2009 at 02:48 AM. Reason: wrong info
 
Old 09-19-2009, 01:35 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The "sudo make install" phase will copy file where they belong. Most likely somewhere under /usr, or /usr/local/.
 
Old 09-19-2009, 02:30 AM   #5
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
Thumbs up I think I've got it. Thank you ,thank you, and Thank you!

Quote:
Originally Posted by mobinskariya View Post
you should untar(extract) it
Code:
tar -xvf filename.tar
then you will get a folder.. cd to that folder and then run ./configure

ps: there might be a README file in the extracted folder.. better read the file.. it describes how to install the software.

I fooled with this for a while until I finally broke down for help on a forum as you know. I've had a dual boot computer for about a year and a half. I have XP on it which has it's positives but is not the greatest for learning(not open source),and I had one virus that I believe was caused by a buffer overload.I've been on Mandriva for a week straight now with no browser crashes which is my main problem with XP. Your assistance has gotten me over the hurdle and I appreciate it. I will be posting my next problem shortly.
Thanks Again and Serendipity to all.
 
Old 09-19-2009, 02:47 AM   #6
unev_21
Member
 
Registered: Mar 2009
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 16
Thanks jschiwal for correcting me..
It is 'make install' that figures out and copies the files to appropriate paths.
 
  


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
Incremental backup of files and directories using dump or tar peddip Linux - Server 2 02-24-2009 05:36 PM
tar multiple files in different directories... visitnag Linux - Desktop 1 04-13-2008 11:02 PM
How do I tar files from different directories glenn69 Linux - General 1 11-12-2007 04:20 PM
TAR Multiple Directories koolme Linux - Newbie 2 09-14-2007 10:03 PM
Tar won't exclude directories. yougene Slackware 9 12-01-2005 09:32 AM

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

All times are GMT -5. The time now is 06:57 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