adding sudo support for the apt-get command