unofficial ROS2 install script for Ubuntu
Access https://index.ros.org/doc/ros2/Installation/ to get the updated information.
ROS 1 version: https://github.com/Tiryoh/ros_setup_scripts_ubuntu
After downloading this repository, just run the following command.
./run.sh
By default, run.sh
will install ros-foxy-desktop
.
If you need to install another package, edit line8-9 in run.sh
.
CHOOSE_ROS_DISTRO=foxy # or dashing, etc...
INSTALL_PACKAGE=desktop # or ros-base
For example, if you want to install ros-base package of ROS 2 Dashing, edit like the followings.
CHOOSE_ROS_DISTRO=dashing # or dashing, etc...
INSTALL_PACKAGE=ros-base # or ros-base
After editing, run run.sh
to install the packages.
./run.sh
In addition, there are other ways to use the installers.
ROS Foxy
- To install
ros-foxy-ros-base
, useros2-foxy-ros-base-main.sh
instead ofrun.sh
. - To install
ros-foxy-desktop
, useros2-foxy-desktop-main.sh
instead ofrun.sh
.
ROS Galactic
- To install
ros-galactic-ros-base
, useros2-galactic-ros-base-main.sh
instead ofrun.sh
. - To install
ros-galactic-desktop
, useros2-galactic-desktop-main.sh
instead ofrun.sh
.
ROS Dashing (EOL)
- To install
ros-dashing-ros-base
, useros2-dashing-ros-base-main.sh
instead ofrun.sh
. - To install
ros-dashing-desktop
, useros2-dashing-desktop-main.sh
instead ofrun.sh
.
ROS Eloquent (EOL)
- To install
ros-eloquent-ros-base
, useros2-eloquent-ros-base-main.sh
instead ofrun.sh
. - To install
ros-eloquent-desktop
, useros2-eloquent-desktop-main.sh
instead ofrun.sh
.
(C) 2021-2022 Salih
This repository is released under the Apache License 2.0, see LICENSE.
Unless attributed otherwise, everything in this repository is under the Apache License 2.0.
run.sh
is based on https://index.ros.org/doc/ros2/Installation/Crystal/Linux-Install-Debians/
by Open Robotics, licensed under CC-BY-4.0.
tutorial.sh
is based on https://index.ros.org/doc/ros2/Tutorials/Colcon-Tutorial/
by Open Robotics, licensed under CC-BY-4.0.