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.

 

相关文章:

  • 2021-07-22
  • 2021-12-09
  • 2022-01-04
  • 2021-11-17
  • 2021-05-24
  • 2021-04-09
  • 2022-01-19
  • 2021-07-21
猜你喜欢
  • 2022-12-23
  • 2021-11-22
  • 2021-08-19
  • 2021-09-05
  • 2021-07-17
相关资源
相似解决方案