@@ -9,11 +9,51 @@ If you are using *Windows*, you can find the "official" PTB **miniforge** instal
---
On the compute servers, a central installation of both **conda** and **mamba** is provided. **mamba** is functionally identical to **conda**, it is just a faster reimplementation in *C++*, use whichever you prefer, the commands are identical.
The executables of both programs are located in the `/home/admin84/shared_public`, which should be configured on all servers the be included in `$PATH`. You can verify you are using the correct executable by running `conda info`. If this returns a different location than above, please remove your personal previous installation of (ana)**conda** first.
The executables of both programs are located in the `/home/admin84/shared_public`, which should be configured on all servers the be included in `$PATH`. You can verify you are using the correct executable by running `conda info` (refer to the sample output below). If this returns a different location than above, please remove your personal previous installation of (ana)**conda** first.
Uninstalling a personal installation of **anaconda** can be achieved by
0. Safety back up (see below)
1. Removing the **anaconda** folder (which is usually **not** your `$HOME/.conda` folder!), which contains the executables, package caches and configuration files, among other things. You can locate where the currently prioritised executable is at via `which conda`.
2. Removing custom channels from your `.condarc`, located usually either at `$HOME/.condarc` or `$HOME/.conda/.condarc` - you can just remove the *channels* key in the YAML file.
3. Checking which **conda** version is used by running `conda info`. This should return (at least)
Please back up the composition of your environments using `conda env export --from-history` while the respective environments are activated.
Please back up the composition of your environments using `conda env export --from-history` while the respective environments are activated. Using `--from-history` will only save the main packages you specifically requested, but not any dependencies installed during installing those packages. Packages which were installed using `pip` are also omitted. If you want to obtain a complete, unsanitised list, you can omit the `--from-history` flag.
---
...
...
@@ -25,7 +65,7 @@ conda init --reverse # (only necessary if you previously used conda)
conda init
```
You can use the `.condarc` template provided here to customise the locations where your environments and package caches are located when using **conda**. Please consider using the *san* for you paths to avoid cluttering the local drives.
You can use the `.condarc` template provided here to customise the locations where your environments and package caches are located when using **conda**. The template includes the path where it should be saved. Please consider using the *san* for you paths to avoid cluttering the local drives.
**conda** will be default use the *python* version which is installed on the host machine, but you can use any supported version when creating new environments, e.g.