Conda - Package

Card Puncher Data Processing

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 :

  • metadata under the info/ directory
  • and a collection of files that are installed directly into an install prefix.

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

  • Install a package from Pypi into the current active environment
pip install packageName

Specific Channel

 
conda install --channel channelName packageName

Remove

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

Build

Build:

when creating packages:

  • Python versions 2.7, 3.4 and 3.5
  • along with all of the architectures. osx-64, linux-32, linux-64, win-32 or win-64

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





Discover More
Card Puncher Data Processing
Anaconda

is a scientific python distribution that comes with a lot of module pre-compiled. It comes with its own packaging system. ...
Card Puncher Data Processing
Conda - Channel

A package repository is called a channel in Conda. This is a store for conda package. Conda packages are downloaded from remote channels, which are URLs to directories containing conda packages. The...
Card Puncher Data Processing
Conda - Installation and configuration

How to install Conda Ubuntu The directory that Anaconda or Miniconda was installed into. Example: Open Anaconda Prompt (Anaconda Terminal) See Tab...



Share this page:
Follow us:
Task Runner