Installation of ROS Kinetic under Ubuntu

Source: Internet
Author: User

Installation environment for Ubuntu 16.04

Configuring the Ubuntu Software repository

Open software and updates in Settings

Hook up the three items "restricted", "universe" and "Multiverse"

Close after check out

Add source

[Email protected]:~$ sudo sh-c ' echo "Deb Http://packages.ros.org/ros/ubuntu $ (LSB_RELEASE-SC) main" >/etc/apt/sourc Es.list.d/ros-latest.list '

Add keys

[Email protected]:~$ sudo apt-key adv--keyserver hkp://ha.pool.sks-keyservers.net:80--recv-key 421c365bd9ff1f717815a3895523baeeb01fa116

Ensure that the index of the package is up to date

[Email protected]:~$ sudo apt-get update
Installing ROS

Desktop full version: (recommended): Includes Ros, RQT, Rviz, Robotics Universal Library, 2d/3d Simulator, navigation, and 2d/3d sensing

[Email protected]:~$ sudo apt-get install Ros-kinetic-desktop-full

Desktop installation: Contains Ros, RQT, Rviz, and general-purpose robotic libraries

sudo apt-get install Ros-kinetic-desktop

Basic Installation: (Lite Edition) contains Ros core packages, build tools, and communication-related libraries, no GUI tools

sudo apt-get install Ros-kinetic-ros-base

Single Package Installation: You can also install a specific ROS package (use the package name to replace the packages below)

sudo apt-get install ros-kinetic-package For example: sudo apt-get install ros-kinetic-slam-gmapping

After the installation is complete, if you want to find available packages

[Email protected]:~$ apt-cache Search Ros-kinetic

Initialize ROSDEP

[Email protected]:~$ sudo rosdep init

After executing the command, you will be prompted to perform ROSDEP update

[Email protected]:~$ rosdep Update

Environment configuration

[Email protected]:~$ echo "Source/opt/ros/kinetic/setup.bash" >> ~/.bashrc[email protected]:~$ Source ~/.BASHRC

Restart Ubuntu

Installation of ROS Kinetic under Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.