0

I installed python 3.4.4 in ubuntu 14.04, but I want to remove it.

when I open terminal and type python3.4 -V then the output is the following.

Python 3.4.4

when I installed, I referenced this web-site "i referenced this website"

I want to remove python 3.4.4 how to do? I am linux newbie please help me.

when i enter /usr/src/Python-3.4.4 directory and type make uninstall or sudo make uninstall then output message is that

make *** no rule to make target uninstall'. stop

I think that method isn't working.

박주현
  • 117

1 Answers1

1

After running make -n altinstall and doing a bit of processing1, the relevant paths are:

/usr/local/bin/python3.4
/usr/local/include/python3.4
/usr/local/lib/libpython3.4
/usr/local/lib/python3.4
/usr/local/share/man/man1/python3.4

Some of these maybe temporary - only used during installation and deleted after finishing it. So, you might not find some of these. Delete the rest.


1 I just ran:

make -n altinstall | grep -v rm | grep -Po '/usr/local[^[:space:]]*?python3.4' | sort -u

This filters out rm commands, and then prints only the paths in /usr/local (the default location picked by ./configure) that end in python3.4 and removes duplicated entries.

muru
  • 207,228