ros-kinetic安装经验
1、ros-kinetic-desktop-full 只支持ubuntu16.04 和ubuntu15, 所以伙选择安装 ubuntu16.04 虚拟机
ubuntu16.04 iso下载地址http://releases.ubuntu.com/16.04/?_ga=2.265019343.1735641916.1567178718-1571777040.1567178718
2、更换源服务器网址为南京大学
3、执行
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
4、增加两个秘钥
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key F42ED6FBAB17C654
5、执行
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
6、抽烟, 休息一下
7、验证安装结果
apt-cache search ros-kinetic
8、初始化
sudo rosdep init
rosdep update
9、设置环境变量
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc source ~/.bashrc
source /opt/ros/kinetic/setup.bash
10、 安装rosinstall插件
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential