You're reading the documentation for an older, but still supported, version of ROS 2. For information on the latest version, please have a look at Humble.
Alternatives
A list of alternative ways to install ROS 2 – whether it’s by building from source or installing a binary.