[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: downloading software





> The error you made has nothing to do with the site of download:
> tar.gz files (or tgz as they sometime knows as) is to be opend with the tar
> and gzip programs and NOT with gunzip (which is for ZIP files only)

> The syntax is as follows (at least for GNU tar, other versions exist as
> well) :
> tar -zxvf js-0.2.4.tar.gz

Well Gilad, just to set the record straight (-:

While you are right that "tar zxvf" (note that you can omit the "-")
will work, gunzip (or "gzip -d" or "zcat" which are the same) with
subsequent "tar xvf" will work just as well. No, gunzip is not for ZIP
files (that's "unzip"!). Note that both "gunzip -c | tar xvf -" and
"tar zxvf" will also work on .tgz files.

-- 
Oleg Goldshmidt          goldshmt@netvision.net.il   
BLOOMBERG L.P. (BFM)     oleg@bfr.co.il