Compilation and instalation of the AM system