linux系统下vscode portable版本的rust环境搭建004:rust-相关错误

时间:2024-02-16 09:44:20
$ tar -zxvf rust-1.68.2-x86_64-unknown-linux-gnu.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
$ file rust-1.68.2-x86_64-unknown-linux-gnu.tar.gz 
rust-1.68.2-x86_64-unknown-linux-gnu.tar.gz: gzip compressed data, original size modulo 2^32 322181574 gzip compressed data, reserved method, has CRC, has comment, encrypted, from FAT filesystem (MS-DOS, OS/2, NT), original size modulo 2^32 322181574
我是用局域网文件传递命令从windows主机的本地复制的,可能传输中出现了问题,导致tar.gz类型有误,重新下载以下就行了