Uncompress tar.gz file [closed] Uncompress tar.gz file [closed] linux linux

Uncompress tar.gz file [closed]


Use -C option of tar:

tar zxvf <yourfile>.tar.gz -C /usr/src/

and then, the content of the tar should be in:

/usr/src/<yourfile>


Try this:

tar -zxvf file.tar.gz


gunzip <filename>

then

tar -xvf <tar-file-name>