当前位置:网站首页>tar: /usr/local:归档中找不到tar: 由于前次错误,将以上次的错误状态退出
tar: /usr/local:归档中找不到tar: 由于前次错误,将以上次的错误状态退出
2022-06-27 06:08:00 【啊仪的小菜脯】
问题来源:
在进行 spark 工具安装时,在解压安装包时报标题所示错误,执行的命令如下
sudo tar -zxvf ~/Downloads/spark-2.4.0-bin-without-hadoop.tgz /usr/local/
解决方法:
该报错的原因是因为命令中缺少使用一个参数 -C,这里解压后需要将解压文件切换放到指定文件夹下,即并非在当前文件夹下解压,而是需要到别的文件夹下解压执行解压操作,故需要加上 -C 参数。正确的命令格式如下所示
sudo tar -zxvf ~/Downloads/spark-2.4.0-bin-without-hadoop.tgz -C /usr/local/
边栏推荐
- Open the door small example to learn ten use case diagrams
- Redis4.0新特性-主动内存碎片整理
- JVM对象组成和存储
- [FPGA] realize the data output of checkerboard horizontal and vertical gray scale diagram based on bt1120 timing design
- tracepoint
- Built in functions of spark
- 高斯分布Gaussian distribution、线性回归、逻辑回归logistics regression
- 我对于测试团队建设的意见
- openstack实例重启状态就会变成错误处理方法,容器搭建的openstack重启计算节点compute服务方法,开机提示Give root password for maintenance处理方法
- 693. 交替位二进制数
猜你喜欢

汇编语言-王爽 第13章 int指令-笔记

Yaml file encryption

多线程基础部分Part3

QT using Valgrind to analyze memory leaks

Two position relay xjls-8g/220

Information System Project Manager - Chapter VII project cost management

多线程基础部分Part2
Software testing year end summary report template

Go log -uber open source library zap use

Quick personal site building guide using WordPress
随机推荐
G1 and ZGC garbage collector
【Cocos Creator 3.5.1】坐标的加法
How win 10 opens the environment variables window
表单校验 v-model 绑定的变量,校验失效的解决方案
C Primer Plus 第11章_字符串和字符串函数_代码和练习题
Contents in qlistwidget are not displayed
Small program of C language practice (consolidate and deepen the understanding of knowledge points)
The form verifies the variables bound to the V-model, and the solution to invalid verification
30 SCM common problems and solutions!
JVM整体结构解析
mysql 查询时将状态改为相对应的文字
yaml文件加密
30个单片机常见问题及解决办法!
JVM class loading mechanism
NLP-D62-nlp比赛D31&刷题D15
Luogu p2939 [usaco09feb]revamping trails G
Dev++ environment setting C language keyword display color
310. 最小高度树
Wechat applet refreshes the current page
函数栈帧的形成与释放