ubuntu14.04 安装tar.gz文件

 

UBUNTU14.04 中tar.gz安装方法

# 是root用的,如果想一直用就要先root设置密码sudo passwd root
$ 一般用户
root@big-System-Product-Name:/home# tar -xzvf install_flash_player_11_linux.x86_64.tar.gz
tar (child): install_flash_player_11_linux.x86_64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

   提示了一个错误,那么用

cd命令: cd /home/big/flash
用cd命令进入安装包(install_flash_player_11_linux.x86_64.tar.gz)所在目录
tar -xzvf install_flash_player_11_linux.x86_64.tar.gz -C /home/big/flash

后面加上-C /home/big/flash的意识是: 解压指定的文件到指定的文件夹


删除文件夹:
1、进入到该文件夹所在目录
2、执行sudo rm -rf 文件夹名

CD..命令:退出一层目录
big@big-System-Product-Name:~$ su root
Password: 
root@big-System-Product-Name:/home/big# cd
root@big-System-Product-Name:~# cd /home/big/flash
root@big-System-Product-Name:/home/big/flash# cd ..
root@big-System-Product-Name:/home/big# cd ..
root@big-System-Product-Name:/home# cd ..

 

 



转载于:https://www.cnblogs.com/lijy/p/4177121.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值