check requirements before installing