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