Operating Systems > Linux and UNIX

Heeelp this Linux noob with tar files:(

(1/5) > >>

Bazoukas:
People I realy want to get away from Windows.
I installed Red Hat few days ago (I had Mandrake before) and I am simply amazed.
 This is though I have trouble with the Tar file.

I type tar xvzf "filename"
then when i type ./configure its a no go :(


what I am doing wrong.
By the way i was trying to install a linux version of napster.

Help pls?

voidmain:
First of all I will assume that the source code you are trying to unarchive and compile has a configure script.  Normally in an archived and compressed file (*.tar.gz, *.tgz) there will be a recursed subdirectory included. Let's say you have an archive called "samba.tar.gz" and you extract it by doing a "tar -xvzf samba.tar.gz" it will likely create a subdirectory called "samba" where it will put all of the source.  In order for the "./configure" command to work you have to actually change into the directory where the "configure" script resides (that's what the "./" part of the command means. Run said program which resides in current directory).  So after unarchiving you would have to "cd samba" and then "./configure".  

Another way you can check is to do a "tar -tvzf samba.tar.gz | grep configure" which will just list the files in the archive containing the name "configure" but not actually extract them.  You will likely see one or more subdirectory names prepended to the configure script.  You'll need to change directory into the directory containing the configure script after extracting.  Hopefully I didn't confuse you.

[ February 25, 2002: Message edited by: VoidMain ]

Almy:
Gotta ask...tried to wait!

 As a linux idiot, I know nothing at all. But this question gets close to some thing I'm looking for info on. Any suggestions on a good place to learn the basics of linux? By that I mean the file work in shells. I did a little lpc coding a few years back, but purely for fun.

 Anything I did had plenty of help within...I haven't been so fortunate with linux as yet. Basically I would like to find some good literature on-line or off-line that I can dig into. Keep in mind...I barely no what 'cd ..' does!

 Almy

dbl221:
Buy the bool "Running Linux" by O'Reilly

nuff said

eXor:
silly question probably but, did you do tar xvzf or tar -xvzf? tar xfzv won't work.

I thought Redhat just used RPMs and didn't bother with tarballs.  I use Slackware myself as IMHO it provides the best flexibility/control and haven't tried the other distros.  Just curious.

Navigation

[0] Message Index

[#] Next page

Go to full version