install dependencies using sudo