Conda (package manager)
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
|
Stable release | 24.3.0[1]
/ 18 March 2024 |
---|---|
Repository | |
Written in | Python |
License | BSD |
Website | conda |
Conda is an
Features
As a package manager, Conda allows users to install different versions of binary software packages and their required software dependencies appropriate for their computing platform from a software repository. Conda checks everything that has been installed, any version limitations that the user specifies (for example, the user wants a specific package to be at least version 2.1.3) and determines a set of versions for all requested packages and their dependencies that makes the total set compatible with one another. If there is no set of compatible dependencies, it will tell the user that the requested combination of software packages at the requested versions is not possible.
Secondly, Conda allows users to create such a set of software packages in isolation from the rest of the computing platform, in what Conda calls an environment.[15] This allows the user to create various sets of software packages for different projects. When the users switches between those projects, they switch to the relevant environment, thereby avoiding the re-installation or removal of conflicting packages. To further facilitate the setup of such environments, Conda can also install Python, the interpreter for the software packages itself.[16]
Conda is written in the Python programming language, but can manage projects containing code written in any language (e.g., R), including multi-language projects.
A popular Conda channel for bioinformatics software is Bioconda, which provides multiple software distributions for computational biology.[17][18]
See also
- List of software package management systems
- Anaconda (Python distribution)
- Pip
- Dependency hell
- Semantic versioning
References
- ^ "Release 24.3.0". 18 March 2024. Retrieved 22 March 2024.
- ^ a b "Conda". conda.io. Retrieved 11 June 2019.
- ^ "Building Conda Packages for Multiple Operating Systems". Pydannt. 29 January 2015. Retrieved 11 June 2019.
- ^
Gorelick, Micha; Ozsvald, Ian (September 2014). High Performance Python: Practical Performant Programming for Humans (1st ed.). O'Reilly Media. p. 370. ISBN 978-1449361594.
- ^ Jackson, Joab (5 February 2013). "Python gets a big data boost from DARPA". networkworld. Retrieved October 30, 2014.
- ^ "What's the difference between Anaconda, conda, and Miniconda?". FAQ - Bioconda documentation. Retrieved 22 April 2020.
- ^ "State of Conda, Oct. 2014". Pen and Pants. 9 October 2014. Retrieved 9 April 2015.
- ISBN 978-1783980253. Retrieved 19 March 2015.
- ISBN 978-3642549595. Retrieved 19 March 2015.
- ISBN 9781491945391. Retrieved 19 March 2015.
- Yahoo Finance. 30 January 2014. Retrieved 19 March 2015.
- ^ "Miniconda". conda.io. Archived from the original on 2018-09-10. Retrieved 2018-07-11.
- ^ "Anaconda repository". anaconda.org.
- ^ "NumFOCUS Affiliated Projects". NumFOCUS. Retrieved 2021-10-25.
- ^ "Managing environments — conda 24.3.1.dev40 documentation". conda.io. Retrieved 2024-04-14.
- ^ "3. Managing Python". 2015. Archived from the original on 16 June 2015. Retrieved 16 Jun 2015.
So now let's say you need Python 3 to learn programming, but you don't want to overwrite your Python 2.7 environment by updating Python. You can create and activate a new environment named snakes, and install the latest version of Python 3 as follows...
- ^ Bioconda official website.
- bioRxiv 10.1101/207092.
Further reading
- Grüning, B., Dale, R., Sjödin, A., Chapman, B. A., Rowe, J., Tomkins-Tinch, C. H., Valieris, R., Köster, J., the Bioconda Team (2018), "Bioconda: sustainable and comprehensive software distribution for the life sciences", Nature Methods, 15 (7): 475–476, S2CID 196664439