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

推荐订阅源

U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
博客园 - 【当耐特】
人人都是产品经理
人人都是产品经理
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
小众软件
小众软件
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
I
InfoQ
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Martin Fowler
Martin Fowler
P
Proofpoint News Feed
MyScale Blog
MyScale 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 安装操作),可重新执行命令进行更新。