Ubuntu 16.04
pick one of two
# Official mirror
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
# Mirror Image
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'
pick one of two
# official
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80'--recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
# University of Science and Technology of China
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80--recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
Long wait...
source /opt/ros/kinetic/setup.bash
If environment variables are not configured, the following error will be reported:
The program 'roscore' is currently not installed. You can install it by typing:
sudo apt install python-roslaunch
sudo apt install python-roslaunch
Recommended Posts