code for compilation/installation, step one