Last active
February 19, 2020 10:20
-
-
Save yossioo/537fb7ea5ffb0108a215f30e49e3ad23 to your computer and use it in GitHub Desktop.
ros2-install.sh
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 | |
set -e | |
sudo locale-gen en_US en_US.UTF-8 | |
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
sudo apt update && sudo apt install -y curl gnupg2 lsb-release | |
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - | |
sudo sh -c 'echo "deb [arch=amd64,arm64] http://packages.ros.org/ros2/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-latest.list' | |
sudo apt update | |
sudo apt install -y ros-dashing-desktop | |
sudo apt install python3-argcomplete | |
#sudo apt install ros-dashing-rmw-opensplice-cpp # for OpenSplice | |
#sudo apt install ros-dashing-rmw-connext-cpp # for RTI Connext (requires license agreement) | |
sudo apt install -y python3-colcon-common-extensions | |
echo "source /opt/ros/dashing/setup.bash" >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment