curl http://android.git.kernel.org/repo >/usr/bin/repo chmod 777 /usr/bin/repo repo init -u git://Android.git.kernel.org/platform/manifest.git
或者
1. cd ~
2. mkdir bin
3. curl http://android.git.kernel.org/repo >~/bin/repo
4. chmod a+x ~/bin/repo
5. PATH=”$HOME/bin:$PATH”