Snap for ROS 2 command line interface tools [1] included with a standard install of any ROS 2 distro.
Note: This is a beta release, if you encounter any bugs or limitations, please do report it [2].
The Snap does not support roslaunch, rospkg, rosrun and custom ROS messages as these require access to the host filesystem.
The ros2-cheat-sheet [3] provides examples for commands and their verbs.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
Snap can be installed from the command line. Open the Konsole terminal and enter the following:
sudo apt update
sudo apt install snapd
Install ros2-cli
To install ros2-cli, simply use the following command: