Remove/Uninstall Python 3.5

I am trying to uninstall Python 3.5. I have tried this up till now:

sudo make clean
sudo make uninstall
sudo -n install

These commands don't remove Python 3.5 completely. I want to keep 3.4 as it is built in (Ubuntu 14.04). I want to specifically remove 3.5. Any suggestions?


Steps I used to install 3.5:

wget
tar -xvf Python-3.5.0.tgz
cd Python-3.5.0
./configure
sudo make install
4

1 Answer

A manually installed Python-[any-version] has no uninstall. The only method is to delete the files.

Suggest : cd Python-3.5.0/ && sudo make install 2>&1 | tee install.log.txt

Analyze the install.log.txt, and decide if it is possible to delete the installed files, without disturbing the default python3.5 ( /usr/lib/python3.5, etc.) and python3 : /usr/lib/python3, etc.

You Might Also Like