This page has moved to https://docs.px4.io/master/zh/dev_setup/dev_env_linux.html.
Click here if you are not redirected.
Linux allows you to build for all PX4 targets (NuttX based hardware, Qualcomm Snapdragon Flight hardware, Linux-based hardware, Simulation, ROS).
Ubuntu Linux LTS LTS 18.04 and 20.04 are supported. Other Linux environments and versions may be made to work, but are less well tested and documented.
The following instructions explain how to set up a development environment on various Linux platforms.
- Ubuntu/Debian Linux - Recommended!
- CentOS Linux
- Arch Linux
- Advanced Linux
After setting up the build/simulation toolchain:
- Additional Tools lists some other useful tools.
- Build instructions explains how to download and build PX4 source code.