LinuxQuestions.org
Help answer threads with 0 replies.
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, 01:22 AM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: Fedora14,Scientific 6.1?, Mandriva 2010 ;GO MAGEIA!!!Next up Gentoo
Posts: 838

Rep: Reputation: 51
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, 01: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 01:28 AM.
 
Old 09-19-2009, 02: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 03:48 AM. Reason: wrong info
 
Old 09-19-2009, 02:35 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
The "sudo make install" phase will copy file where they belong. Most likely somewhere under /usr, or /usr/local/.
 
Old 09-19-2009, 03:30 AM   #5
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: Fedora14,Scientific 6.1?, Mandriva 2010 ;GO MAGEIA!!!Next up Gentoo
Posts: 838

Original Poster
Rep: Reputation: 51
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, 03: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


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


All times are GMT -5. The time now is 09:11 AM.

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