How Uninstall pip and python [closed]
I wanted to install version 3 of python and pip but instead issued
sudo apt-get install python-pip python-dev
how do I uninstall python and pip, I tried sudo apt-get uninstall but did not work, what is the correct command?
In order to remove it type:
sudo apt-get remove python-pip python-dev
If you're not sure which switch to use, you can add the --help
switch to almost if not every Linux command to get details about the command.
Example:
apt-get --help
to fully remove those you can use
sudo apt purge python-pip python-dev
<-- this will delete all the files/directories/binaries created by that package