# rosdistro **Repository Path**: syntax/rosdistro ## Basic Information - **Project Name**: rosdistro - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-09 - **Last Updated**: 2021-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # clone ```shell cd ~/Downloads && git clone https://gitee.com/syntax/rosdistro.git ``` # setup 20-default.list ```shell sudo mkdir -p /etc/ros/rosdep/sources.list.d && cd /etc/ros/rosdep/sources.list.d sudo touch 20-default.list ``` 添加或修改为如下内容,其中a是你的用户名: ```shell # os-specific listings first yaml file:///home/a/Downloads/rosdistro/master/rosdep/osx-homebrew.yaml osx # generic yaml file:///home/a/Downloads/rosdistro/master/rosdep/base.yaml yaml file:///home/a/Downloads/rosdistro/master/rosdep/python.yaml yaml file:///home/a/Downloads/rosdistro/master/rosdep/ruby.yaml gbpdistro file:///home/a/Downloads/rosdistro/master/releases/fuerte.yaml fuerte # newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead ``` # 修改.py文件 ```shell sudo gedit /usr/lib/python2.7/dist-packages/rosdistro/__init__.py ``` 修改如下内容,路径中的a是你的用户名: ```python # index information #DEFAULT_INDEX_URL = 'https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml' DEFAULT_INDEX_URL = 'file:///home/a/Downloads/rosdistro/master/index-v4.yaml' ```