ubuntu-ros安装脚本

前端之家收集整理的这篇文章主要介绍了ubuntu-ros安装脚本前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

环境

ubuntu14.04

cd $HOME
gedit ros-install.sh

复执一下内容,然后执行:

sh ros-install.sh

# ustc mirror
@H_301_18@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'

@H_301_18@sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

@H_301_18@sudo apt-get update

@H_301_18@sudo apt-get install ros-indigo-desktop-full

@H_301_18@sudo rosdep init
rosdep update

@H_301_18@echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
@H_301_18@source ~/.bashrc

@H_301_18@sudo apt-get install python-rosinstall
原文链接:https://www.f2er.com/ubuntu/353340.html

猜你在找的Ubuntu相关文章