deal with *.tar.gz package