" Restricted", "universe" and "multiverse". Generally, there is no need to configure, please refer to the red box in the figure below.
If there is no configuration, you can refer to the official Ubuntu website: click to open the link
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu
$(lsb_release -sc) main" >/etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp:
If you cannot connect to the above server, you can try hkp://pgp.mit.edu:80 or hkp://keyserver.ubuntu.com:80
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
After installation, you can view the available packages:
apt-cache search ros-kinetic
Initialize rosdep
You must initialize rosdep before using ROS
Configuration Environment
echo "source /opt/ros/kinetic/setup.bash">>~/.bashrc
sudo apt-get install python-rosinstall python-rosinstall-generator
python-wstool build-essential
roscore
rosrun turtlesim turtlesim_node
rosrun turtlesim turtle_teleop_key
rosrun rqt_graph rqt_graph
Reference blog link:
https://blog.csdn.net/softimite_zifeng/article/details/78632211
ROS kinetic official website:
http://wiki.ros.org/kinetic/Installation/Ubuntu
Recommended Posts