Hmmm... OK we seem to be dealing with two things here.  .tar.gz files are
Tape Archive files which have been compressed with GZip.  .tar.bz2 files are
Tape Archive files which have been compressed using BZip2 instead.

The commands for "Untarring and unarchiving" each of these are as follows:

For .tar.gz files:

tar -zcvf somefile.tar.gz

For .tar.bz2 files:

tar -Icvf somefile.tar.bz2


Obviously you need to ensure that the location you are starting this from
will allow you to create directories and files and so forth, usually a
folder inside your home drive is an ideal location for that.  Use mkdir
foldername to make a new folder - or simply md foldername   You can also
specify the exact location such as mkdir ~/extract to create this in your
home drive (~ represents your home drive).


As for the second question, about running configure, the chances are that
you are not telling Linux to use the configure script in the current
directory (assuming that's where it is): you need to run it as ./configure
(ensuring you use the correct case too!) - thus specifying an absolute
directory.  By default Linux does not include the current directory in the
PATH search.

If you need more specific information, post a follow up about the program
you're trying to compile.



-- Mark.

-----Original Message-----
From: Stan Wilburn [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2000 15:24
To: [EMAIL PROTECTED]
Subject: [newbie] Extracting a .BZ2 file


What is the correct procedure in extracting a tar.bz2 file? I also had 
trouble with a tar.gz file that appears to be extracted but still will not 
work. I have looked in the HOWTO sections of some websites and it looks 
like I need to do /configure which I am not familiar with. Thanks for any 
help you can give me... 



Stan "The Crippler" Wilburn
Mid-Range Systems Engineer
Rock Hill Telephone Company
803-323-6366
Mailto:[EMAIL PROTECTED]  


Reply via email to