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>
gunzip <filename>
then
tar -xvf <tar-file-name>
Try this:
tar -zxvf file.tar.gz
Source: Stackoverflow.com