Ubuntu 14.04.5 安装ROS
1.添加source.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
2.添加秘钥
sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
3.更新Debian软件包索引源
sudo apt-get update
sudo apt-get upgrade
4.安装桌面完整版
sudo apt-get install ros-indigo-desktop-full
5.初始化rosdep
sudo rosdep init
rosdep update
6.设置环境
echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
source ~/.bashrc
7.安装 rosinstall
注:
rosinstall 是ROS中一个独立分开的常用命令行工具,它可以方便让你通过一条命令就可以给某个ROS软件包下载很多源码树。要在ubuntu上安装这个工具,请运行:
sudo apt-get install python-rosinstall