1conda install anaconda-clean # install the package anaconda clean
2anaconda-clean --yes # clean all anaconda related files and directories
3rm -rf ~/anaconda3 # removes the entire anaconda directory
4
5rm -rf ~/.anaconda_backup # anaconda clean creates a back_up of files/dirs, remove it
6 # (conda list; cmd shouldn't respond after the clean up)
1#Install anaconda-clean
2conda install anaconda-clean
3
4#start anaconda-clean
5anaconda-clean --yes
1sudo rm -rf ~/anaconda3 ~/.condarc ~/.conda ~/.continuum
2remove path from .bashrc file which looks like:
3PATH="/home/myuser/anaconda3/bin:$PATH
4source ~/.bashrc