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.

 

posted @ 2011-12-31 19:39  googlegis  阅读(4592)  评论(0编辑  收藏  举报

坐标合肥,非典型GIS开发人员 GitHub