Download meego source code in Linux-repo + git

Source: Internet
Author: User

Meego source code is managed through git tools, we can download through the GIT address of the source code, but http://meego.gitorious.org/
This website provides the GIT address of the module. If a module is downloaded from one module, it will not be exhausted ~ Therefore, install the repo tool and use the repo tool for all downloads.
1. Install git

sudo apt-get install git-core curl

 
2. Repo Installation

First, create a folder bin under the user's home directory and add the path to the Environment path. The specific method is as follows:
Edit ~ /. Bashrc, add a row at the end: Export path + = :~ /Bin/
Start the terminal, download the repo script through curl, and save it ~ In the/bin/repo file, the specific command is as follows:

curl http://android.git.kernel.org/repo >~/bin/repo
chmod a+x~/bin/repo

 
3. Download source code

Restart the terminal and create a directory. This document creates the meego folder under the user directory.

mkdir meego
cd meego

 
Initialize the code library:

repo init -u git://gitorious.org/repo-for-meego/meego_manifest.git

 
You will be prompted to enter the user and email address, and select the color. Press enter to select the default value.
After the preceding command is executed, synchronize the Code:

repo sync

 
Well, now we can say that all the work is done, and the rest is waiting ~
Sync takes a long time, and it is not a long time. Please wait,
After that, you will have the code above the main branch of meego !!!

 

Address: http://kb.cnblogs.com/page/74972/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.