Added checkDependencies function. ARCH linux still on progress.