title: Uninstall python 2.6 without yum
body: <p>I accidentally downloaded python2.6.6 on my centos Virtual Machine from python.org's official download package and compiled it to source.</p>
  
  <p>Now in my /usr/local/bin I have a python2.6 shell available and now if I use <code>which python</code> it will give me the path of /usr/local/bin instead of original python2.7's path which is /usr/bin.</p>
  
  <p>Since I installed it from source, yum doesn't recognise python2.6.6 as a package and I want to get rid of it.</p>
  
  <p>If I do <code>rpm -q python</code> it gives me a result of python-2.7.5-48.0.1.el7.x86_64</p>
  
  <p>Is it possible to uninstall python2.6.6 and I will just re-point my python system variable to /usr/bin again?</p>