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