soft:conda
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| soft:conda [2023/05/05 23:28] – asad | soft:conda [2023/10/31 10:34] (current) – asad | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| < | < | ||
| - | conda create --name myenv | + | conda create -n myenv # create new environment |
| + | conda activate myenv # activate the environment | ||
| + | conda deactivate # deactivate an env | ||
| + | conda install sth # install a conda package named sth | ||
| + | conda install sth=2 # install version 2 of sth | ||
| + | conda remove | ||
| + | conda init --reverse $SHELL | ||
| </ | </ | ||
| + | |||
| + | ===== User management ===== | ||
| + | < | ||
| + | sudo group add mygroup | ||
| + | sudo chgrp -R mygroup / | ||
| + | sudo chmod 770 -R / | ||
| + | sudo adduser username mygroup | ||
| + | |||
| + | source / | ||
| + | conda init | ||
| + | </ | ||
| + | |||
soft/conda.1683350915.txt.gz · Last modified: by asad
