问题
root@orangepi5:/home/orangepi/Project/Inbox# tar -zxvf gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
操作
tar包压缩的时候用cvf参数,解压的时候用xvf参数(用此命令解决了)
或压缩的时候用czvf参数,解压的时候用xzvf参数(常用,这次报了这个错)
更换为cvf参数
tar -xvf gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz