rpm linux command code example Example: use rpm command in centos [root@tecmint]# rpm -q BitTorrent BitTorrent-5.2.2-1.noarch