Ubuntu 14.04 install ROS Indigo

前端之家收集整理的这篇文章主要介绍了Ubuntu 14.04 install ROS Indigo前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1. Configure your Ubuntu repositories


To enable all Ubuntu software (main universe restricted multiverse) repositories use

sudo@H_301_8@ add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)@H_301_8@ main universe restricted multiverse"@H_301_8@

Then update the package list

sudo@H_301_8@ apt-get update

2. Setup your sources.list


sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main"@H_301_8@ > /etc/apt/sources.list@H_301_8@.d/ros-latest.list@H_301_8@'

设置成国内中科大的源.

3. Set up your keys


sudo apt-key adv --keyserver hkp://ha.pool@H_301_8@.sks@H_301_8@-keyservers.net@H_301_8@ --recv-key 0xB01FA116@H_301_8@

4. Installation


sudo apt-get@H_301_8@ updatesudo apt-get@H_301_8@ install ros-indigo@H_301_8@-desktop@H_301_8@-full@H_301_8@

5. Initialize rosdep


sudo@H_301_8@ rosdep initrosdep update

6. Environment setup


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

7. Getting rosinstall


sudo apt-get@H_301_8@ install python-rosinstall@H_301_8@

Reference


Ubuntu install of ROS Kinetic

猜你在找的Ubuntu相关文章