Move: root/sudo check into checkDependencies func.