1、ubuntu GIT 安装与使
-
$sudo apt-get install git
-
$sudo apt-get install git-core
通过命令更新版本库
-
git clone git://git.kernel.org/pub/scm/git/git.git
2、安装curl
-
$sudo apt-get install curl
3、获取repo
按照说明,执行:
-
$ mkdir ~/bin
$ curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin //获取repo
$ chmod a+x repo
$ PATH= ~/bin:$PATH