This section describes the conda system directory structure.
The directory that Anaconda or Miniconda was installed into.
Also referred to as PKGS_DIR. This directory contains decompressed packages, ready to be linked in conda environments. Each package resides in a subdirectory corresponding to its canonical name.
The system location for additional conda environments to be created.
The following subdirectories comprise the default Anaconda environment:
Other conda environments usually contain the same subdirectories as the default environment.
A conda environment is a directory that contains a specific
collection of conda packages that you have installed. For
example, you may have one environment with NumPy 1.7 and its
dependencies, and another environment with NumPy 1.6 for legacy
testing. If you change one environment, your other environments
are not affected. You can easily activate or deactivate
environments, which is how you switch between them. You can also
share your environment with someone by giving them a copy of your
environment.yaml file. For more information, see
A conda package is a compressed tarball file that contains system-level libraries, Python or other modules, executable programs and other components. Conda keeps track of the dependencies between packages and platforms.
Conda packages are downloaded from remote channels, which are URLs to directories containing conda packages. The conda` command searches a default set of channels, and packages are automatically downloaded and updated from http://repo.continuum.io/pkgs/. You can modify what remote channels are automatically searched. You might want to do this to maintain a private or internal channel. For details, see Channel locations (channels). See also Managing packages.
The conda package format is identical across platforms and operating systems.
You can install conda packages by running:
conda install [packagename]
[packagename] with the desired package name.
A conda package includes a link to a tarball or bzipped tar
archive, with the extension “.tar.bz2”, which contains metadata
info/ directory and a collection of files that are
installed directly into an
During the install process, files are extracted into the
install prefix, except for files in the
directory. Installing the files of a conda package into an
environment can be thought of as changing the directory to an
environment, and then downloading and extracting the .zip file
and its dependencies—all with the single
conda install [packagename] command.