Currently there is no option of installing gz-sim without the GUI components. Motivated by osrf/docker_images#354 it should be possible to repacked the software to isolated the gui components in there own package and make then a soft dependency so no gui installations are possible.