code for compilation/installation, step two