備註

您正在閱讀開發版本的文件。對於最新發行的版本,請參見 Kilted

安裝

安裝 ROS 2 Rolling Ridley 的選項:

二進位軟體包

Binaries are only created for the Tier 1 operating systems listed in REP-2000. Given the nature of Rolling, this list may be updated at any time. If you are not running any of the following operating systems you may need to build from source or use a container solution to run ROS 2 on your platform.

We provide ROS 2 binary packages for the following platforms:

從來源碼建置

We support building ROS 2 from source on the following platforms:

您應該選擇哪一種安裝?

Installing from binary packages or from source will both result in a fully-functional and usable ROS 2 install. Differences between the options depend on what you plan to do with ROS 2.

**二進位軟體包**適合一般使用者,提供已經建置完成的 ROS 2 安裝。這對於想要立即開始使用 ROS 2 的人來說非常方便。

Linux 使用者有兩種安裝二進位軟體包的選項:

  • Packages (debs or RPMS, depending on the platform)

  • 二進位封存檔

Installing from packages is the recommended method, as it installs necessary dependencies automatically and also updates alongside regular system updates. However, you need root access in order to install deb packages. If you don’t have root access, the binary archive is the next best choice.

Windows users who choose to install from binary packages only have the binary archive option (deb packages are exclusive to Ubuntu/Debian).

Building from source is meant for developers looking to alter or explicitly omit parts of ROS 2’s base. It is also recommended for platforms that don’t support binaries. Building from source also gives you the option to install the absolute latest version of ROS 2.

Contributing to ROS 2 core?

If you plan to contribute directly to ROS 2 core packages, you can install the latest development from source which shares installation instructions with the Rolling distribution.