7

I installed python 3.5.0 from the source code available at python.org. How can I remove that installed package?

3 Answers3

10

From this source

You can do :

  1. make clean removes any intermediate or output files from your source / build tree

  2. If you can, running make uninstall will work.

  3. The last option is you have to manually uninstall it. Running make -n install

Note : You must cd the file location where you make install

BeGood
  • 539
-2

I think this will work. Try this.

pip uninstall python==3.5.0

However, if python comes with dependencies, do not uninstall them.

-6
locate python3.5 | xargs sudo rm -rf $1
crucl0
  • 1
  • 3
    -1 No, don't do this; it's dangerous because it deletes other files of that name that don't belong to the Python installation. There's not even a guarantee that it will delete all files that do belong to it. – David Foerster May 20 '16 at 10:22