LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help uncompressing file format (https://www.linuxquestions.org/questions/linux-newbie-8/help-uncompressing-file-format-165099/)

mxrush 04-01-2004 04:39 PM

help uncompressing file format
 
being slightly new to linux i am having a hard time trying to uncompress a file with the ext .tgz I have tarred a lot of files with .tar.tz and installed without any problems but what command would i use in console.
I get file or directory not found ..I search here for the answer before asking...thanks for all your help

leonscape 04-01-2004 05:01 PM

For a file with tgz is usually a gzipped tarball so to uncompress

tar xvzf thefile.tgz

That should work.

superbondbond 04-01-2004 05:10 PM

the extension tgz is typically (though not always) identifying a Slackware package. It's a little different that a g-zipped tar archive (tarball) with the extension tar.gz. You can uncompress a slack-pack however.

mxrush 04-01-2004 06:11 PM

thanks fo rthe help bu tthe file must be corrupted..i tried that command over and over and i get .......Cannot open: No such file or directory
(child) error is not recoverable exiting now
child returned statues 2

leonscape 04-01-2004 06:14 PM

No such file or directory means that the file doesn't exist, not that its corrupt, are you in the right directory and entering the right name for the file?

mxrush 04-01-2004 06:40 PM

at console i typed pwd then ls and it shows it there..I have been trying this for over a week on 2 different pc running to different linux's and i get the same thing ..Only in konqueror i can see it uncompressed but then its not excutable.. i then try chmod +x and i get no such firl or directory on that

leonscape 04-01-2004 06:43 PM

In Konqueror right click, and select decompress here...

If that doesn't work. I'd try downloading another copy.

mxrush 04-01-2004 07:16 PM

Same thing......thank you for all of your help...a friend gave it to me to see if i could get to open ...he couldnt also...again thanks i told hm a forums would be the way to go for help...:-)


All times are GMT -5. The time now is 06:58 PM.