1.設定sources.list
2.設定Key
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
3.安裝
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ros-kinetic-desktop-full
4.初始化rosdep
sudo rosdep init
rosdep update
5.環境配置
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
6.安裝建構ROS包的依賴
sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential
7.測試
打開終端,輸入以下指令測試:
roscore