Now, for a few doubts...
1) I've learnt that you can use a src.rpm to install a file...what command line prompt do I use for that?
2)What command do I use to install a binary file.
3) Can YUM be used for both? ( src.rpm and binary?)
You should learn to use the manuals:
i think :
rpm --build <shource_pacakge>.src.rpm
will build the binary version