Ubuntu开发环境搭建(4)【安装repo】

来源:互联网 发布:手机模板软件 编辑:程序博客网 时间:2024/06/09 15:56

1.mkdir ~/bin

2.curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

3.chmod a+x ~/bin/repo

4.vim ~/.profile 最后一行添加:export PATH=$PATH:~/bin

5.source ~/.profile

6.repo init 现在就能使用了

0 0