... | ... | @@ -1991,3 +1991,80 @@ Bioconda is a channel for the conda package manager specializing in bioinformati |
|
|
| Detailed information about package versions | conda search PKGNAME --info |
|
|
|
| Remove a package from an environment | conda uninstall PKGNAME --name ENVNAME |
|
|
|
| Add a channel to your Conda configuration | conda config --add channels CHANNELNAME |
|
|
|
|
|
|
##### Example
|
|
|
```
|
|
|
module purge
|
|
|
module add tools/miniconda/python3.7/4.7.12
|
|
|
|
|
|
conda info
|
|
|
|
|
|
active environment : None
|
|
|
shell level : 0
|
|
|
user config file : /home/username/.condarc
|
|
|
populated config files : /home/username/.condarc
|
|
|
conda version : 4.7.12
|
|
|
conda-build version : not installed
|
|
|
python version : 3.7.4.final.0
|
|
|
virtual packages :
|
|
|
base environment : /share/software/tools/miniconda/3.7/4.7.12 (read only)
|
|
|
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
|
|
|
https://repo.anaconda.com/pkgs/main/noarch
|
|
|
https://repo.anaconda.com/pkgs/r/linux-64
|
|
|
https://repo.anaconda.com/pkgs/r/noarch
|
|
|
package cache : /share/software/tools/miniconda/3.7/4.7.12/pkgs
|
|
|
/home/username/.conda/pkgs
|
|
|
envs directories : /home/username/.conda/envs
|
|
|
/share/software/tools/miniconda/3.7/4.7.12/envs
|
|
|
platform : linux-64
|
|
|
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Linux/4.18.0-147.8.1.el8_1.x86_64 centos/8.1.1911 glibc/2.28
|
|
|
UID:GID : 225812:513
|
|
|
netrc file : None
|
|
|
offline mode : False
|
|
|
```
|
|
|
|
|
|
```
|
|
|
conda create --name Project-B
|
|
|
Collecting package metadata (current_repodata.json): done
|
|
|
Solving environment: done
|
|
|
|
|
|
## Package Plan ##
|
|
|
|
|
|
environment location: /home/username/.conda/envs/Project-B
|
|
|
|
|
|
Proceed ([y]/n)? y
|
|
|
|
|
|
Preparing transaction: done
|
|
|
Verifying transaction: done
|
|
|
Executing transaction: done
|
|
|
#
|
|
|
# To activate this environment, use
|
|
|
#
|
|
|
# $ conda activate Project-B
|
|
|
#
|
|
|
# To deactivate an active environment, use
|
|
|
#
|
|
|
# $ conda deactivate
|
|
|
```
|
|
|
|
|
|
```
|
|
|
conda init bash
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/condabin/conda
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/bin/conda
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/bin/conda-env
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/bin/activate
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/bin/deactivate
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/etc/profile.d/conda.sh
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/etc/fish/conf.d/conda.fish
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/shell/condabin/Conda.psm1
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/shell/condabin/conda-hook.ps1
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/lib/python3.7/site-packages/xontrib/conda.xsh
|
|
|
no change /share/software/tools/miniconda/3.7/4.7.12/etc/profile.d/conda.csh
|
|
|
modified /home/username/.bashrc
|
|
|
|
|
|
==> For changes to take effect, close and re-open your current shell. <==
|
|
|
|
|
|
|
|
|
[username@res-hpc-lo01 ~]$ conda activate Project-B
|
|
|
(Project-B) [username@res-hpc-lo01 ~]$
|
|
|
``` |
|
|
\ No newline at end of file |