Install any official ROS 1 or ROS 2 distribution on its canonical Ubuntu release with one command.
Quick start · Distributions · Variants · EOL support
Choose a ROS distribution and an installation variant. The installer validates the host Ubuntu release before making system changes.
| Command | Ubuntu targets | Variants |
|---|---|---|
./install.sh <distribution> <base|desktop> |
10.04 Lucid through 26.04 Resolute | base, desktop |
Important
This is a community project. It is not an official ROS or Ubuntu installer.
Warning
EOL distributions and their Ubuntu releases receive no security fixes. Use them only when compatibility requires it, preferably in an isolated environment.
- The exact Ubuntu release listed for your ROS distribution
sudoaccess and an internet connection- The Ubuntu
universecomponent enabled
On a current Ubuntu release, enable universe with:
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y universeClone the repository and make the installer executable:
git clone https://github.com/shkwon98/ros-install-scripts.git
cd ros-install-scripts
chmod +x install.shInstall a distribution:
./install.sh jazzy desktopOther examples:
./install.sh noetic base # EOL ROS 1
./install.sh iron desktop # EOL ROS 2
./install.sh rolling base # RollingThe installer does not edit your shell startup files. Use the command printed after installation:
source /opt/ros/<distribution>/setup.bashEach ROS distribution targets one canonical Ubuntu release. EOL entries are installed from their frozen final snapshot.
Humble, Jazzy, Kilted, and Lyrical use the current official ROS repository. Rolling uses the official testing repository.
| Variant | Intended use | Package family |
|---|---|---|
base |
Headless systems, robots, and minimal installations | ROS base metapackage |
desktop |
Workstations that need GUI tools and common desktop packages | ROS 1 desktop-full or ROS 2 desktop |
EOL distributions use the signed final repositories at snapshots.ros.org. The installer downloads the ROS Snapshot Builder public key from Ubuntu's keyserver and accepts it only when its complete fingerprint matches:
4B63 CF8F DE49 746E 98FA 01DD AD19 BAB3 CBF1 25EA
The snapshot repository uses HTTP because its current TLS certificate does not match the hostname. Apt signature verification remains enabled; the installer never uses trusted=yes or unauthenticated package installation.
Your Ubuntu package sources must already work. For an EOL Ubuntu release, configure its archived sources and include the universe component before running the installer.
- Validate the distribution, variant, Ubuntu release, and
universecomponent. - Configure the official current, testing, or final snapshot repository.
- Confirm that the selected metapackage exists for the current architecture.
- Install the metapackage and verify
/opt/ros/<distribution>/setup.bash. - Print the shell command needed to use the installation.
This repository is licensed under the Apache License 2.0. ROS packages installed by this project remain subject to their respective licenses.
Distribution artwork by illustrator Joshua Ellingson is provided by Open Robotics and the ROS Wiki under CC BY-NC 4.0 and remains subject to the ROS trademark policy.