I just started setting up a CentOS server today and noticed that the default version of Python on CentOS is set to 2.6.6. I want to use Python 2.7 instead. I googled around and found that 2.6.6 is used by system tools such as YUM so I should not tamper with it. Then I opened up a terminal on my Mac and found that I had Python 2.6.8 and 2.7.5 and 3.3.3 installed.
Sorry for the long story. In short I just want to know how to look up all the versions of Python installed on CentOS so I don't accidentally install it twice.
Use,
yum list installedcommand to find the packages you installed.