Check if package is installed on CentOS March 6th, 2014 rpm -q <packagename> Example rpm -q iptables Categories Code Snippet Tags centos terminal linux Convert a timestamp to date in sql Check if package is installed on Ubuntu