Added check for apt-get or yum