make uninstall?

Christopher J. Bottaro cjbottaro at alumni.cs.utexas.edu
Mon Dec 13 13:15:21 EST 2004


So Python installs one file and two dirs (containing files/dirs).  If I
delete all three of those, it will delete all installed modules as well,
right?  I mean, when I installed cx_Oracle, it only installed files in
$PYTHONDIR/lib/python2.3 and $PYTHONDIR/include/python2.3 right?

Thanks for the help.

Fredrik Lundh wrote:

> Christopher J. Bottaro wrote:
> 
>>I installed Python-2.3.4 from source...
>> configure && make && make install
>>
>> Now I want to remove it, but make uninstall doesn't work.  How do I
>> uninstall it?
> 
> $ python
>>>> import sys
>>>> sys.executable
> '/usr/somewhere/bin/python'
>>>> sys.prefix
> '/usr/somewhere'
>>>> sys.version[:3]
> '2.3'
>>>> ^D
> 
> $ rm /usr/somewhere/bin/python
> $ rm -rf /usr/somewhere/lib/python2.3
> $ rm -rf /usr/somewhere/include/python2.3
> 
> </F>
> 
> 
> 





More information about the Python-list mailing list