euglug.org

[Eug-lug] Uninstalling python from source

작성자

카테고리:



Martin KellyThu Dec 22 11:44:59 PST 2005

I just compiled python 2.4.2 to test out freeze (works nicely btw), and 
did a "make install" figuring there would be  "make uninstall" or "make 
remove" but there wasn't. I captured the output of make install into a 
very long text file, and it looks like it only put things in 
/usr/local/bin and /usr/local/lib so I moved those somewhere else.

The wierd thing is that running "python" now defaults to /usr/local/lib 
rather than /usr/bin like it used to. I reinstalled the deb packages of 
python 2.3 and python 2.4 and no use. I copied /usr/bin/python to 
/usr/local/bin and it works, I'm just wondering if everything has been 
remove. How can I check this?

OS is Debian Testing, thanks.

-Martin