![如何解压*.tar.gz](https://linux22.com/image/175969/%E5%A6%82%E4%BD%95%E8%A7%A3%E5%8E%8B*.tar.gz.png)
我已经使用了命令
tar zxvf filename.tar.gz
...尝试解压文件。但是,输入命令后,屏幕上只会填充
x hadoop-3.1.1/share/doc/hadoop/hadoop-client-runtime/images/expanded.gif
x hadoop-3.1.1/share/doc/hadoop/hadoop-client-runtime/project-reports.html
x hadoop-3.1.1/share/doc/hadoop/hadoop-client-runtime/css/
x hadoop-3.1.1/share/doc/hadoop/hadoop-client-runtime/css/maven-base.css
x hadoop-3.1.1/share/doc/hadoop/hadoop-client-runtime/css/site.css
x hadoop-3.1.1/share/doc/hadoop/hadoop-client-runtime/css/maven-theme.css
x hadoop-3.1.1/share/doc/hadoop/hadoop-client-runtime/css/print.css
x hadoop-3.1.1/share/doc/hadoop/hadoop-client-runtime/dependency-analysis.html
但它不会创建可执行文件(这是我所期望的)。你下一步怎么做?
答案1
标题并不是你真正的问题,你显然知道如何解压文件*.tar.gz
,你的问题应该是:“如何安装hadoop?”或类似的东西。
无论如何,你真的应该阅读文档:https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html#Prepare_to_Start_the_Hadoop_Cluster