tar.gz 解压出现 tar :This does not look like a tar archive 解决

tar.gz 解压出现 tar :This does not look like a tar archive 解决

在安装hdf5时,使用tar 命令解压hdf5-1.8.18.tar.gz 出现:

[root@a9213279d4ed download]# tar -xzf hdf5-1.8.18.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

解决的办法:

gzip -d ***.tar.gz

tar -xf ***.tar.

你可能感兴趣的:(tar.gz)