ROS learning---Install ROS on Ubuntu

Install ROS on Ubuntu16.04

#1 surroundings##

Ubuntu 16.04

#2 installation##

  1. Configure ROS mirror source

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'
  1. Set key (public key has been updated)

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
  1. Update package
sudo apt-get update
  1. Install the full version of ROS kinetic
sudo apt-get install ros-kinetic-desktop-full

Long wait...

  1. Configure environment variables
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
  1. Download roslaunch
sudo apt install python-roslaunch

Recommended Posts

ROS learning---Install ROS on Ubuntu
lamp on ubuntu
Install Redis on Ubuntu
Install R4 on ubuntu20
Install nvtop on Ubuntu 18.04
Install postgresql-10 on Ubuntu 18.04
Install Docker on ubuntu18.04
Install mysql on Ubuntu 14.04
Install Django on ubuntu
Install Pytorch+CUDA on Ubuntu 16.04
Install Python3 on Ubuntu 14.04
Install rJava on Ubuntu18
Install JDK10+ on Ubuntu
Install Python3 on Ubuntu 16.04
Install ROS under ROS Ubuntu 18.04[2]
Install KDE on Ubuntu16.04.2
Install Docker on Ubuntu18
Install Python3.7 on Ubuntu
Install flashplayer on Ubuntu
Docker practice (1): install Docker on Ubuntu 16.04
Github Project-OpenPose installation on Ubuntu
Install ubuntu on virtual machine
Install QQ robot on Ubuntu 16.04
Install Python 3.7 on Ubuntu 18.04 LTS
Upgrade Ubuntu 18.04 on Azure to 18.10
Install Android Studio on Ubuntu
ubuntu14.0464 Ros environment install halcon13.01
Configure tomcat on ubuntu server
Install scrapy framework on ubuntu
ROS Noetic Ninjemys meets Ubuntu 20.04
Install Mysql offline on Ubuntu
ROS 2 Foxy Fitzroy meets Ubuntu 20.04
Install Odoo 11 stack on Ubuntu 16.04
Install Go locale on Ubuntu16
Install common software on Ubuntu 16.04
Install non-portable QQ on ubuntu
Install Docker on Ubuntu 18.04 offline
ROS 2 Foxy Fitzroy meets Ubuntu 20.04
How to install Ruby on Ubuntu 20.04
How to install Memcached on Ubuntu 20.04
Build Nginx-RTMP live server on ubuntu
How to install Java on Ubuntu 20.04
How to install MySQL on Ubuntu 20.04
Deploy JobConverter + Ibreoffice environment on Ubuntu
How to install VirtualBox on Ubuntu 20.04
How to install Elasticsearch on Ubuntu 20.04
How to install Protobuf 3 on Ubuntu
Install Tenda u12 driver on Ubuntu
How to install Nginx on Ubuntu 20.04
How to install Apache on Ubuntu 20.04
Turn on Wifi on laptop Ubuntu system
How to install Git on Ubuntu 20.04
How to install Node.js on Ubuntu 16.04
How to install MySQL on Ubuntu 20.04
Play flatpak packaged games on ubuntu
Install and configure MySQL on Ubuntu
Install Chef server workstation on Ubuntu 18.04
How to install Vagrant on Ubuntu 20.04
How to install Bacula-Web on Ubuntu 14.04
Install botan2 encryption library on ubuntu
How to install PostgreSQL on Ubuntu 16.04