MapleBG / MiDaS-master /ros /additions /install_ros_melodic_ubuntu_17_18.sh
FazeNCode's picture
Upload 190 files
4e3cd77
#@title { display-mode: "code" }
#from http://wiki.ros.org/indigo/Installation/Ubuntu
#1.2 Setup sources.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
# 1.3 Setup keys
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt-key adv --keyserver 'hkp://ha.pool.sks-keyservers.net:80' --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
curl -sSL 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xC1CF6E31E6BADE8868B172B4F42ED6FBAB17C654' | sudo apt-key add -
# 1.4 Installation
sudo apt-get update
sudo apt-get upgrade
# Desktop-Full Install:
sudo apt-get install ros-melodic-desktop-full
printf "\nsource /opt/ros/melodic/setup.bash\n" >> ~/.bashrc
# 1.5 Initialize rosdep
sudo rosdep init
rosdep update
# 1.7 Getting rosinstall (python)
sudo apt-get install python-rosinstall
sudo apt-get install python-catkin-tools
sudo apt-get install python-rospy
sudo apt-get install python-rosdep
sudo apt-get install python-roscd
sudo apt-get install python-pip