zoukankan      html  css  js  c++  java
  • 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 ..
    


  • 相关阅读:
    Lyndon Word & The Runs Theorem
    Codeforces 1477F. Nezzar and Chocolate Bars
    Codeforces Round #700 (Div.1)
    kubeadm 安装 k8s
    centos7更新阿里yum源
    CF1186 F. Vus the Cossack and a Graph
    CF1152 D. Neko and Aki's Prank
    CF803 C. Maximal GCD
    CF1180 B. Nick and Array
    CF1186 D. Vus the Cossack and Numbers
  • 原文地址:https://www.cnblogs.com/lijy/p/4177121.html
Copyright © 2011-2022 走看看