在Windows上解压.tar.gz文件

huangapple go评论77阅读模式
英文:

Extract .tar.gz file on Windows

问题

I am not able to extract the file named hadoop-3.1.0.tar.gz on Windows 10. How can I get it done?

我无法在Windows 10上提取名为hadoop-3.1.0.tar.gz的文件。我该怎么做?

I have tried using the command :
我已尝试使用以下命令:

tar -xvzf C:\Users\sheno\Downloads\hadoop-3.1.1.tar.gz -C C:\Users\sheno\Downloads\hadoop-3.1.1.tar.gz

The error that I am getting is :
我遇到的错误是:

tar: Error opening archive: Failed to open 'C:\Users\sheno\Downloads\hadoop-3.1.1.tar.gz'

There is no other way that has worked out in extracting the files
没有其他方法能够成功提取这些文件。

英文:

I am not able to extract the file named hadoop-3.1.0.tar.gz on Windows 10. How can I get it done?

I have tried using the command :

tar -xvzf C:\Users\sheno\Downloads\hadoop-3.1.1.tar.gz -C C:\Users\sheno\Downloads\hadoop-3.1.1.tar.gz

The error that I am getting is :

tar: Error opening archive: Failed to open 'C:\Users\sheno\Downloads\hadoop-3.1.1.tar.gz'

There is no other way that has worked out in extracting the files

答案1

得分: 0

tar 是一个Linux存档实用工具。在这里提到的7-zip可以解压该tarball。

正如cricket_007所指出的,39年后,AT&T贝尔实验室编译了tar,微软使用了其他人的代码将tar/curl包含在Windows 10中。

英文:

tar is a Linux archive utility. 7-zip, mentioned here, will unpack that tarball.

As cricket_007 points out, 39 years after AT&T Bell Labs compiled tar, Microsoft used someone else's code to include tar/curl with Windows 10.

huangapple
  • 本文由 发表于 2020年1月3日 22:20:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/59580159.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定