尝试提取 tar 文件时出错:您必须指定“-Acdtrux”或“--test-label”选项之一

Roh*_*ala 1 linux tar

当我尝试提取 cmake 时,出现错误:

tar - zxvf cmake-3.4.0.tar.gz

tar: You must specify one of the `-Acdtrux' or `--test-label'  options
Try `tar --help' or `tar --usage' for more information.
Run Code Online (Sandbox Code Playgroud)

小智 6

删除和之间的空格-z

tar -zxvf cmake-3.4.0.tar.gz
Run Code Online (Sandbox Code Playgroud)

这应该有效。