# repo-manifest-demo **Repository Path**: sumumm/repo-manifest-demo ## Basic Information - **Project Name**: repo-manifest-demo - **Description**: repo的清单库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-08 - **Last Updated**: 2026-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 怎么安装 repo? 这里我只在 ubuntu 中安装 repo 进行学习,windows 下也能装,但是没去折腾了。 ### 1. 准备工作 确保已经安装了 Python 和 git 两个软件以及 curl。 ```shell sudo apt-get install git-core curl python3 ``` > 为什么需要是Python3?因为使用的最新的repo脚本就是用python3运行的,后面可以点到源码看。 ### 2. curl 命令下载 然后执行以下命令安装即可: ```shell mkdir -pv ~/02software/repo_bin # 创建安装目录 # curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o ~/02software/repo_bin/repo # 国内站点 清华源 curl https://storage.googleapis.com/git-repo-downloads/repo > ~/02software/repo_bin/repo # 国外站点 chmod a+x ~/02software/repo_bin/repo # 赋予权限 echo "export PATH=~/02software/repo_bin:$PATH" >> ~/.bashrc # 添加环境变量 source ~/.bashrc # 使环境变量生效 ```