run apt-get commands using sudo