A one-command installer for the apt-based ROS 2 path

I’d like ROS 2 to be installable with one command on Ubuntu:

curl -fsSL https://ros.org/install.sh | sh
source /opt/ros/lyrical/setup.bash

Today it’s a sequence — enable universe, look up the latest ros-apt-source
release, download the .deb, dpkg -i, apt update, apt install - from Installation

Those steps end up copied into Dockerfiles, CI configs and tutorials, and
whenever the apt setup changes, all of those copies break separately. If the
project hosted a single script, that’s one place to fix instead.

There are already community scripts doing this, for example
GitHub - Tiryoh/ros2_setup_scripts_ubuntu: 🔧 unofficial ROS 2 install/setup scripts for Ubuntu · GitHub , so this doesn’t need to
start from zero. I’m happy to write a first version and set up a CI matrix.

What I’d like to know is whether the project would want to host something like
this, and what it would take — a docs change, or something more formal.

1 Like