Customized Anaconda Installers (AER 2.26)

Anaconda Repository can distribute copies of the Anaconda distribution and the Miniconda installer that are pre-configured to use your installation of Anaconda Repository.

To download the installers:

mkdir -p /tmp/extras
pushd /tmp/extras

URL="https://repo.continuum.io"

version="4.2.0"
miniconda="Miniconda3-latest-Linux-x86_64.sh \
    Miniconda3-latest-MacOSX-x86_64.sh \
    Miniconda3-latest-Windows-x86.exe \
    Miniconda3-latest-Windows-x86_64.exe \
    Miniconda-latest-Linux-x86_64.sh \
    Miniconda-latest-MacOSX-x86_64.sh \
    Miniconda-latest-Windows-x86.exe \
    Miniconda-latest-Windows-x86_64.exe"
anaconda="Anaconda2-$version-Linux-x86_64.sh \
    Anaconda3-$version-Linux-x86_64.sh \
    Anaconda2-$version-MacOSX-x86_64.sh \
    Anaconda3-$version-MacOSX-x86_64.sh \
    Anaconda2-$version-MacOSX-x86_64.pkg \
    Anaconda3-$version-MacOSX-x86_64.pkg \
    Anaconda2-$version-Windows-x86_64.exe \
    Anaconda3-$version-Windows-x86_64.exe"

for installer in $miniconda; do
    curl -O $URL/miniconda/$installer
done
for installer in $anaconda; do
    curl -O $URL/archive/$installer
done

# Move installers into static directory
popd
cp -a /tmp/extras \
  /home/anaconda-server/miniconda2/lib/python2.7/site-packages/binstar/static

The installers will be available for download from http://<your-anaconda-server>/downloads. The resulting download will be a zip file containing the Anaconda distribution and the configuration files specific to your server. These zip files will be cached in the server’s configured storage for quick retrieval.

To pre-generate these installer bundles based on the downloaded installers, or to re-generate after downloading new installers, execute the command:

anaconda-server-admin update-installers

This command requires that the SERVER_NAME setting be set in order to generate the correct URLs.

By default, the included conda installation will point to the anaconda and r-channel accounts on your Anaconda Repository server, if those accounts exist. The channels included in this default configuration can be adjusted by setting the DEFAULT_CHANNELS setting, and running the anaconda-server-admin update-installers command.