Linux allows you to build for all PX4 targets (NuttX based hardware, Qualcomm Snapdragon Flight hardware, Linux-based hardware, Simulation, ROS).
Ubuntu Linux LTS 16.04 is recommended. Other environments can 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.
After setting up the build/simulation toolchain: