Identifying all the 3rd party software/executable files in RHEL 5.6

I have used yum list installed and rpm -qa commands.
But these provide only the source packages, I want the specific software name.
And how to identify any software that is installed without the yum or rpm package system.
I tried compgen -c but it doesn't works with rhel5.6

Hello PrabhaPatra4567,

I do not know, if there is a direct way to get that list.
But assuming that you want to find the executable's that are on the system which are not installed using YUM or RPM, for example a custom binary executable.

Follow the below mentioned steps:
1. Get the list of files on the server.
2. use the "file" tool to identify the executable files.
3. use RPM tool using options "-qf" to find out whether it belongs to any package.

if it belongs to any package we are good, if it does not, there you go you have got your file that is not installed using YUM or RPM.

Hope, this answers your question.