Configuring conda and creating channels
In Anaconda Repository for IBM Cloud Pak for Data, you can create channels from the Anaconda Repository to software packages and libraries that you mirrored, uploaded, or copied. You can also configure conda and mamba to use a local repository.
Required role: You must be a Cloud Pak for Data cluster administrator and have root access on the Linux system where Anaconda Repository for IBM Cloud Pak for Data is installed.
Required access parameters: To use Anaconda Repository for IBM Cloud Pak for Data, you need:
- A link to the Anaconda user management UI (Keycloak) and login credentials that are generated and printed to the screen during installation.
- The default user credentials that are generated and printed to the screen during the installation to open the Anaconda Team Edition (TE) landing page.
First, create one or more channels. Then, mirror or upload packages from the Anaconda Repository to the location each channel points to. Lastly, update the conda configuration in Cloud Pak for Data to enable using the channels.
Creating channels and mirroring packages
Use Anaconda Repository for IBM Cloud Pak for Data to create channels and then mirror or upload packages.
-
Log in to the Anaconda user management UI, Keycloak, using the administrator credentials generated during installation. You can add new users and manage user access with these credentials.
-
Ensure that your user ID in Keycloak has an admin role. Without an admin role, you cannot create channels in the Anaconda TE. See Setting admin role for more details.
-
Navigate to the hostname of the Anaconda TE server to open the Anaconda TE landing page. Log in with the default user credentials generated and printed to the screen during installation or with the new user credentials created in Keycloak.
-
Create a channel. See Creating a channel for detailed instructions.
-
Add packages to your channel. You can create a local copy of an entire Anaconda repository or upload individual packages.
-
To create a local copy of a repository, see Creating mirrors. For example, to mirror the
conda-forgerepository, enterExternal source channel: https://conda.anaconda.org/conda-forge/andType: condain the UI.Note:Replicating a conda channel might take a while, even if the channel is passively replicated.
-
To upload individual packages, see Uploading to a channel.
-
Configuring conda and mamba to use a local repository
To configure conda and mamba to use a local repository see Customizing environment templates by using conda and mamba.
Next step
Provide the names of the conda channels to users with Admin or Editor permissions on Watson Studio projects so that they can create environment templates with software customizations to Anaconda Repository for IBM Cloud Pak for Data.
To create a software customization to Anaconda Repository for IBM Cloud Pak for Data in an environment template in Watson Studio, see Customizing the environment template.
Learn more
To learn more about using Anaconda Repository for IBM Cloud Pak for Data to access open source packages, see: