Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
soft:conda [2023/05/01 13:11] – created asad | soft:conda [2023/10/31 10:34] (current) – asad | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Anaconda ====== | ====== Anaconda ====== | ||
+ | Install on Ubuntu like this: https:// | ||
< | < | ||
- | 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.1682968280.txt.gz · Last modified: 2023/05/01 13:11 by asad