在Ubuntu 12.04中下载Google代码

时间:2013-07-30 10:08:25

标签: ubuntu svn google-code

我想从Ubuntu下载code.google.com中项目的zip文件。我使用的是Ubuntu 12.04。

我还提到this,但我仍然没有得到任何输出。还有this

请帮帮我。我已经解决了这个问题,无法继续我的工作。

1 个答案:

答案 0 :(得分:2)

确保已安装git。如果您还没有安装git,请在控制台中以这种方式尝试:

sudo apt-get install -y git

之后你应该能够下载这样的资源:

git clone https://path/to/repo

您要链接的特殊仓库使用svn,因此您需要安装svn:

sudo apt-get install -y svn

下载的工作原理如下:

svn checkout http://android-mt-tutorials.googlecode.com/svn/trunk/ android-mt-tutorials-read-only

顺便说一下,这里也有解释:

https://code.google.com/p/android-mt-tutorials/source/checkout