Table of Contents

Conda - Package

About

Python - Packages (Archive, Distribution) in the context of the conda application

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

Format

A conda package is a tarball or bzipped tar archive, with the extension “.tar.bz2”, which contains :

Management

Install

anaconda.org

From Anaconda.org (Anaconda Cloud)

# Globally
conda install [packagename]
# In a environment
conda install --name envName packagename

where name is the name of an environment. During the install process into an environment, files are extracted into the install prefix, except for files in the info/ directory. See format.

Pypi

pip install packageName

Specific Channel

 
conda install --channel channelName packageName

Remove

conda remove packageName1  ... packageNameN
conda remove --name envName packageName1  ... packageNameN

Build

Build:

when creating packages:

Location

/pkgs or PKGS_DIR is the directory that contains decompressed packages, ready to be linked in conda environments.

Each package resides in a subdirectory corresponding to its canonical name.

List

conda list
conda search PACKAGENAME

Repository / Channel

See Conda - Channel

Documentation / Reference