From the docs:
To uninstall Anaconda open a terminal window and remove the entire anaconda install directory:
rm -rf ~/anaconda. You may also edit~/.bash_profileand remove the anaconda directory from yourPATHenvironment variable, and remove the hidden.condarcfile and.condaand.continuumdirectories which may have been created in the home directory withrm -rf ~/.condarc ~/.conda ~/.continuum.
Further notes:
- Python3 installs may use a
~/anaconda3dir instead of~/anaconda. - You might also have a
~/.anacondahidden directory that may be removed. - Depending on how you installed, it is possible that the
PATHis modified in one of your runcom files, and not in your shell profile. So, for example if you are using bash, be sure to check your~/.bashrcif you don't find thePATHmodified in~/.bash_profile.
From the docs:
To uninstall Anaconda open a terminal window and remove the entire anaconda install directory:
rm -rf ~/anaconda. You may also edit~/.bash_profileand remove the anaconda directory from yourPATHenvironment variable, and remove the hidden.condarcfile and.condaand.continuumdirectories which may have been created in the home directory withrm -rf ~/.condarc ~/.conda ~/.continuum.
Further notes:
- Python3 installs may use a
~/anaconda3dir instead of~/anaconda. - You might also have a
~/.anacondahidden directory that may be removed. - Depending on how you installed, it is possible that the
PATHis modified in one of your runcom files, and not in your shell profile. So, for example if you are using bash, be sure to check your~/.bashrcif you don't find thePATHmodified in~/.bash_profile.
The anaconda installer adds a line in your ~/.bash_profile script that prepends the anaconda bin directory to your $PATH environment variable. Deleting the anaconda directory should be all you need to do, but it's good housekeeping to remove this line from your setup script too.