implementing isinstalled for centos