According to Steven Sawyer: While burning my CPU.
> 
> Hi Gang,
> 
>       First time caller here.  I am preparing to install Gnome 1.0 and 
> considering going the tar.gz route.  At the risk of incurring rude bwoy's 
> wrath, can someone give me a pointer to a site that addresses the ins and 
> outs of working with tar.gz files?  i am interested in knowing the commands 
> and,or any program that automates uncompressing all those gz files.  Any 
> suggestions regarding gz files and Gnome would be highly appreciated.

The first thing that realy you should do is look into the archive and see
just what is creates, to do that use 'zless'.
So doing the following;

zless ppp-2.2.0f.tar.gz

will show in the top left hand corner of your screen something like;

ppp-2.2.0f/

( Or;

tar -tzf ppp-2.2.0f.tar.gz

That will produce a complete list of the directorys and files which will be
created when tar -xzf is used.)

That means that a directory called ppp-2.2.0f/ will be created, now for
simplisitys sake say we are now in /usr/local/ and the tar file is in
/home/ftp/pub/linux/utils if we do;

tar xzf /home/ftp/pub/linux/utils/ppp-2.2.0f.tar.gz

it will read the file located in /home/ftp/pub/linux/utils and untar it into
/usr/local/ppp-2.2.0f/.

There is a man page for tar but i can assure you it will only confuse you at
first, learn the "options" first.

In my opinion it is far beter to use tar this way instead of using other
programs to unpack compile or do whatever as a shortcut for the user, that
way the end user will never learn anything about how tar or even linux works
for that matter.

Options used in this message;

-x  extract files from an archive
-z  filter the archive through gzip
-f  use archive file or device F (default /dev/rmt0)

Another thing to remember is "always" look inside the archive first, as it
possably just might overwrite some files you already have, espesaly archives
that unpack into the "/" directory itself.

ppp-2.2.0f.tar.gz was just used as an example.


> 
> thanks,
> 
> Steve
> 
> 
> ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~
> Steven Sawyer
> [EMAIL PROTECTED]
> ICQ:  17894303
> http://www.globalcomputing.com
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to