If your installation has been corrupted or you are unable to execute conda commands, you can restore functionality without losing your previous configuration or packages.
Miniconda:
Miniconda is the backend to installing and updating your Anaconda Repository installation with the conda package manager.
If you have installed Miniconda and used conda install anaconda-server:
1. Download Miniconda. You can also use wget to download the most recent version of Miniconda:
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
2. Use the following command to install over the current installation directory specified after -bfp:
bash /<path-to-Miniconda>.sh -bfp /<path-to-current_miniconda_dir>
anaconda_repository.sh shell script installer:
If you have /home/binstar/repo or /home/anaconda-server/repo, you should have used the anaconda_repository.sh installation method.
NOTE: For anaconda-server version greater than 2.27.
If you have your original installer anaconda_repository.sh, you can use it again. If you need this installer, please contact support@anaconda.com.
In the same directory that contains the repo/ directory, run:
anaconda_repository.sh -u