Conda Practise
Conda Practise
Installation
-
To install
conda
. Copyminiconda
package from my dir/yan/Miniconda3-latest-Linux-x86_64.sh
to your folder. Runbash Miniconda3-latest-Linux-x86_64.sh
Input
yes
ory
when necessary during installation. -
Restart your terminal, or run
source ~/.bashrc
-
Run
source activate
to start
conda
environment. Notice the(base)
before your username. -
Read the document by
conda --help
You can go deeper by
conda install --help conda env --help
-
Create a new environment called
bioinfo
, enter the new environment:conda create -n bioinfo conda activate bioinfo
-
Install the tools we will use in this course. I put them in a list, copy the
packages.txt
from my dir, then run:conda config --add channels bioconda # add the bioconda channel conda install --file packages.txt
It may take a while.
-
Deactivate the environment by:
conda deactivate