• repo: command not found


    I install repo  follow as website 

    Installing Repo 
    $ curl http://android.git.kernel.org/repo >~/bin/repo 
    $ chmod a+x ~/bin/repo 
    $ mkdir working-directory-name 
    $ cd working-directory-name 
    $ repo init -u git://android.git.kernel.org/platform/manifest.git 

    but the last command this error occur 

    No command 'repo' found, did you mean: 
     Command 'repl' from package 'nmh' (universe) 
     Command 'repl' from package 'mailutils-mh' (universe) 
     Command 'rep' from package 'librep9' (universe) 
    repo: command not found 

    Please help me what incorrect commad or the missed command?

     

    Answer:

    I think you meant: 

      echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc 

    and you also need to run that in your current shell: 

      export PATH=$PATH:$HOME/bin 

    Or, open a new shell so your updated ~/.bashrc can be read.

     

  • 相关阅读:
    ZOJ
    ZOJ
    ZOJ
    ZOJ
    HDU
    HDU
    CF 429B B.Working out (四角dp)
    HDU
    ScrollView 里的 EditText 与输入法的用例
    Windows hosts (使用方法 && 不定期更新)
  • 原文地址:https://www.cnblogs.com/googlegis/p/2978751.html
Copyright © 2020-2023  润新知