惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
I
InfoQ
C
Check Point Blog
IT之家
IT之家
MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
Last Week in AI
Last Week in AI
GbyAI
GbyAI
P
Proofpoint News Feed
量子位
Stack Overflow Blog
Stack Overflow Blog
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
人人都是产品经理
人人都是产品经理
B
Blog
T
The Blog of Author Tim Ferriss
H
Help Net Security
云风的 BLOG
云风的 BLOG

博客园 - MrZhangYang

Win10下python3和python2同时安装并解决pip共存问题 Running ROS on Windows 10 Roomblock: a Platform for Learning ROS Navigation With Roomba, Raspberry Pi and RPLIDAR(转) Understand:高效代码静态分析神器详解(转) VMware下ubuntu与Windows实现文件共享的方法 Install rapyuta client on Ubuntu14.04 Install rapyuta client on Raspberry Pi Installing ROS Indigo on the Raspberry Pi Shrinking images on Linux How to emulate a Raspberry Pi on your PC Remastersys打包你自己的ubuntu成iso文件 Install rapyuta Robot Cloud Engine on Ubuntu14.04 Install rapyuta Robot Cloud Engine on Ubuntu12.04 怎样下载youtube的字幕 国内老版本ubuntu更新源地址以及sources.list的配置方法 大堆文字不如几张图片-论信息传递的方式以NodeMCU入门为例 3D打印机如何添加自动调平功能 给创客的十条建议 RAMPS1.4 3d打印控制板接线与测试
配置 ROS 的 apt 源
MrZhangYang · 2017-08-21 · via 博客园 - MrZhangYang

配置 ROS 的 apt 源

ROS的apt源有官方源、国内 USTC 源或新加坡源可供选择, 选择其一就可以了,建议使用国内 USTC 源或新加坡源,安装速度会快很多。

  • 方式一:官方源
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
$ sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116
$ sudo apt-get update
$ sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
$ sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116
$ sudo apt-get update
$ sudo sh -c '. /etc/lsb-release && echo "deb http://mirror-ap.packages.ros.org/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
$ sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116
$ sudo apt-get update

sudo apt-get update 执行更新有时因为网络原因可能出现错误(若不是 ros 安装源错误均可继续 ros 安装操作),可重新执行命令进行更新。