Extraction issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Extraction issue

kristian_johnson
For some reason after downloading the QuantLib-0.3.8.tar.gz file, I am not able to gzip -d it.  I've used winzip win-GZ, gzip, 7-zip, and nothing seems to recognize the file compression method.  Additionally I've sent the file over to a linux box and decompressed it with gzip and an error occurred that stated the file had an unrecognizable format.  How should I decompress the file so that I can untar and install it?
Reply | Threaded
Open this post in threaded view
|

Re: Extraction issue

Dirk Eddelbuettel
On 18 February 2005 at 22:14, [hidden email] wrote:
| For some reason after downloading the QuantLib-0.3.8.tar.gz file, I am not
| able to gzip -d it.  I've used winzip win-GZ, gzip, 7-zip, and nothing seems
| to recognize the file compression method.  Additionally I've sent the file
| over to a linux box and decompressed it with gzip and an error occurred that
| stated the file had an unrecognizable format.  How should I decompress the
| file so that I can untar and install it?

The browser may have uncompressed it so it could now be a tarfile -- but then
didn't rename it.  Under Linux, try

        $ file QuantLib-0.3.8.tar.gz

which compares the header against a little database. It should tell whether
it is compressed with gzip or not, and/or if it is a tar archive.

Alternatively, just try to look inside via 'tar tvf QuantLib-0.3.8.tar.gz' or
by pointing WinZip at it.

You may have to 'right-mouse click' and select 'save link' to get a binary
download.

Dirk

--
Better to have an approximate answer to the right question than a precise
answer to the wrong question.  --  John Tukey as quoted by John Chambers