Programme I
The Anaconda installer adds a new line to the ~/.bash_profile script and adds the Anaconda Bin directory to the $PATH environment variable. So you just need to delete the Anaconda directory, but it's also best to remove this line from the installation script.
Programme II
To uninstall Anaconda, first open the terminal window and delete the entire Anaconda installation directory: rm-rf?/Anaconda.
Then you want to edit the/. Bash_profile and remove the Anaconda directory from the PATH environment variable and use RM-RF ~/.condarc ~/.conda ~/. Continuum Delete. condarc files and. Conda and. Continuum directories that may be created in the home directory
Programme III
Deleting the Anaconda directory is useful, but I don't think it's a good idea because you might need to use Anaconda again in the near future. Based on Mwaskom's recommendations, the Anaconda installer automatically adds a path variable that points to the Anaconda/bin directory in the ~/.BASHRC file.
It looks like this--path= "/home/linuxsagar/anaconda3/bin: $PATH
So, just comment out the line (add # At the beginning of the row). Then reload the ~/.BASHRC file by executing $source ~/.BASHRC
Finally, execute $which python in the new terminal to verify that the change is valid.
Programme IV
Rm-rf?/anaconda
Quite simple, refer to: Https://docs.continuum.io/anaconda/install#os-x-uninstall
Programme five
The package "Anaconda Clean" (available from the Anaconda platform) requires a secure uninstall.
Conda Install anaconda-Clean # Install the package Anaconda Cleananaconda-clean--Yes -rf ~/< C4>anaconda3 -rf ~/.anaconda_backup # Anaconda Clean Creates a back_up of files/dirs, remove it # (c Onda list; CMD shouldn't respond after the clean up)
For more information, see Https://docs.continuum.io/anaconda/install#uninstall-anaconda.
Programme VI
If you want to uninstall Anaconda to be able to use the default Python in your system, you can temporarily disable the path by following these steps instead of uninstalling Anaconda.
Go to your home directory. Only one CD command is required.
Edit the file. bashrc.
Look for content similar to export path= "/home/ubuntu/anaconda3/bin: $PATH" in the file.
Place one at the beginning #
to annotate it from the script.
Programme VII
Same scenario six, but instead of a comment, delete the line directly.
Open the terminal, enter VI ~/.bash_profile, enter the current user's variable information, find the variable information of the Anaconda setting (below), enter "DD" in VI (delete one row), enter ": Wq" (Save exit).
4.2. 0 Installer export PATH="/applications/anaconda/bin: $PATH"
Note: No matter how many options, it is best to restart the computer after the operation
Uninstalling Anaconda on Mac OSX