Created
July 17, 2017 15:35
-
-
Save ohadcn/54a76d0bcb779d526415b683624144dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export ROS_VERSION=lunar | |
sudo apt-add-repository -y universe | |
sudo apt-add-repository -y multiverse | |
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://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 | |
sudo apt-get update | |
sudo apt-get -y dist-upgrade | |
sudo apt-get install -y ros-$ROS_VERSION-desktop-full python-rosinstall htop zip unzip build-essential rar unrar | |
sudo rosdep init | |
rosdep update | |
echo "source /opt/ros/$ROS_VERSION/setup.bash" >> ~/.bashrc | |
source /opt/ros/$ROS_VERSION/setup.bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment