Installing conda for packaging mirroring
To help improve performance and security, Anaconda Enterprise enables you to create a local copy of an online package repository so users can access the packages from a centralized, on-premises location. This copy is called a mirror. A mirror can be complete, partial, or include specific packages or types of packages.
The Anaconda Enterprise installer contains a bootstrap executable that you can run to install conda.
Prerequisites:
To install conda:
-
In a terminal window, navigate to the directory where you downloaded and extracted the Anaconda Enterprise installer, replacing
<version>
with your specific version number: -
Run the following command to verify whether the
bzip2
package is installed:
If the command returns a valid package, you can run the bootstrap executable. Otherwise use your package manager to install the binary, using either yum install bzip2
or apt-get install bzip2
.
-
Run the following command to run the bootstrap executable:
-
Type
yes
when prompted to accept the end user license agreement (EULA). -
Accept the default path, or enter an alternate path when prompted.
-
When prompted, type
yes
to activate the conda command at shell initialization. -
Re-initialize your terminal for the previous steps to take effect:
Now that you’ve installed conda, you can configure access to the source of the packages to be mirrored, whether an online repository or a tarball (if an air-gapped installation). Then you’ll be ready to begin mirroring channels and packages.
Was this page helpful?