Tar -zxvf error, Trying to unzip zlib for installation
Hey I've just got my raspberry pi working with Raspbian.
I want to get ZGV going but in the read me they suggested I download/install/update the following: - svgalib (or SDL, depending on the backend chosen in config.mk) - libjpeg - libpng - zlib - libtiff I've gotten up to zlib after downloading from http://www.zlib.net/ (zlib-1.2.8.tar.gz) I try to extract with the following script: tar -xvzf zlib-1.2.8.tar.gz I receive this message gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now I've tried downloading directly through terminal wget http://www.zlib.net/zlib-1.2.8.tar.gz --still the same error when I try to extract It doesn't recognize the file when I access it on the GUI too I've also updated with "apt-get update" --no difference despite the update... I'm at a loss, please help!!! Thanks |
sounds like a corrupt download
how did you DL it ? using firefox on a linux OS or on a Mac using apples web browser ? ( The Apple Mac icon is shown on your post ) |
Either try to unzip it first then untar:
Code:
~$ gunzip zlib-1.2.8.tar.gz Code:
~$ file zlib-1.2.8.tar.gz |
@ Cobozco
I downloaded this file to see if I get the same error but I didn't, it extracted fine with no errors. Don't know why it is not doing it at your end. The syntax to extract is correct. |
May I ask why you don't just use the package manager to install that software instead of compiling from source? I would really be surprised if those rather common packages can not be found in Raspbian's 35000 available packages.
|
@ John W - I downloaded through midori initially - but yeah a corrupt file thank you
@shivaa - Thanks, file zlib-1.2.8.tar.gz determined it being a corrupt file. And the extraction works fine after re-downloading. @linux555 thanks! help suggest ^ @TobiSGD package manager..? i'll have to look up what you're talking about :3 - would you kindly shed some light on that. Do you mean the aptitude's package manager interface? |
Aptitude, apt-get, Synaptic and Software Center are most common package managers for Debian and derivatives like Raspbian. They are used to install software on such systems, from the repositories of the distribution. All the software you mention should be available in the Raspbian repositories, so there is no need at all to download sourcecode and compile it.
Information on how to use those tools can be found here: http://www.debian.org/doc/manuals/de...gtools.en.html |
All times are GMT -5. The time now is 10:33 AM. |