|
1 |
| - |
2 | 1 | # Anaconda (anaconda)
|
3 | 2 |
|
4 |
| - |
5 |
| - |
6 | 3 | ## Example Usage
|
7 | 4 |
|
8 | 5 | ```json
|
|
16 | 13 | | Options Id | Description | Type | Default Value |
|
17 | 14 | |-----|-----|-----|-----|
|
18 | 15 | | version | Select or enter an anaconda version. | string | latest |
|
| 16 | +| useCondaForge | Set conda-forge as the default channel for better package compatibility | boolean | true | |
| 17 | +| installMamba | Install mamba for faster package management | boolean | true | |
| 18 | +| useSystemPackages | Use system package manager on Debian/Ubuntu systems to install Conda | boolean | true | |
| 19 | +| installFullAnaconda | Install full Anaconda distribution instead of minimal Miniconda | boolean | false | |
| 20 | + |
| 21 | +## Using Conda and Mamba |
19 | 22 |
|
20 |
| -## Using Conda |
| 23 | +This Feature includes [the `conda` package manager](https://docs.conda.io/projects/conda/en/latest/index.html) and by default also includes [the `mamba` package manager](https://mamba.readthedocs.io/en/latest/) for faster dependency resolution and package installation. |
21 | 24 |
|
22 |
| -This Feature includes [the `conda` package manager](https://docs.conda.io/projects/conda/en/latest/index.html). Additional packages installed using Conda will be downloaded from Anaconda or another repository if you configure one. To reconfigure Conda in this container to access an alternative repository, please see information on [configuring Conda channels here](https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/channels.html ). |
| 25 | +When Mamba is installed, you can use it with the same syntax as conda: |
23 | 26 |
|
24 |
| -Access to the Anaconda repository is covered by the [Anaconda Terms of Service](https://legal.anaconda.com/policies/en/?name=terms-of-service), which may require some organizations to obtain a commercial license from Anaconda. **However**, when used with GitHub Codespaces or GitHub Actions, **all users are permitted** to use the Anaconda Repository through the service, including organizations normally required by Anaconda to obtain a paid license for commercial activities. Note that third-party packages may be licensed by their publishers in ways that impact your intellectual property, and are used at your own risk. |
| 27 | +```bash |
| 28 | +mamba install numpy pandas |
| 29 | +``` |
| 30 | + |
| 31 | +The feature also sets up helpful aliases: |
| 32 | +```bash |
| 33 | +conda-fast install numpy pandas # Uses mamba |
| 34 | +cf install numpy pandas # Another alias for mamba |
| 35 | +``` |
| 36 | + |
| 37 | +Additional packages will be downloaded from conda-forge by default (more permissive licensing) or from Anaconda if you change the configuration. To reconfigure channels, please see information on [configuring Conda channels here](https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/channels.html). |
| 38 | + |
| 39 | +## Licensing Information |
| 40 | + |
| 41 | +Access to the Anaconda repository is covered by the [Anaconda Terms of Service](https://legal.anaconda.com/policies/en/?name=terms-of-service), which may require some organizations to obtain a commercial license from Anaconda. **However**, when used with GitHub Codespaces or GitHub Actions, **all users are permitted** to use the Anaconda Repository through the service, including organizations normally required by Anaconda to obtain a paid license for commercial activities. |
| 42 | + |
| 43 | +By default, this feature uses conda-forge as the primary channel, which has more permissive licensing than the default Anaconda repository. |
| 44 | + |
| 45 | +Note that third-party packages may be licensed by their publishers in ways that impact your intellectual property, and are used at your own risk. |
25 | 46 |
|
26 | 47 | ## Installing a different version of Python
|
27 | 48 |
|
28 | 49 | As covered in the [user FAQ](https://docs.anaconda.com/anaconda/user-guide/faq) for Anaconda, you can install different versions of Python than the one in this image by running the following from a terminal:
|
29 | 50 |
|
30 | 51 | ```bash
|
31 | 52 | conda install python=3.7
|
| 53 | +# Or faster with mamba |
| 54 | +mamba install python=3.7 |
32 | 55 | ```
|
33 | 56 |
|
34 |
| - |
35 | 57 | ## OS Support
|
36 | 58 |
|
37 |
| -This Feature should work on recent versions of Debian/Ubuntu-based distributions with the `apt` package manager installed. |
| 59 | +This Feature should work on recent versions of Debian/Ubuntu-based distributions with the `apt` package manager installed. It also has limited support for RedHat-based systems, Alpine Linux, and openSUSE/SLES. |
38 | 60 |
|
39 | 61 | `bash` is required to execute the `install.sh` script.
|
40 | 62 |
|
41 | 63 |
|
42 | 64 | ---
|
43 | 65 |
|
44 |
| -_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/devcontainers/features/blob/main/src/anaconda/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ |
| 66 | +_Note: This file was NOT auto-generated from the [devcontainer-feature.json](https://github.com/devcontainers/features/blob/main/src/anaconda/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ |
0 commit comments