-
Python 2.7
# 32 bits $ wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86.sh # 64 bits $ wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
-
Python 3.5
# 32 bits $ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86.sh # 64 bits $ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
This will install minicondaX at your user's directory by setting the prefix.
$ bash Miniconda...sh
After installation, accept the change to the .bashrc file, logout from the computer and log in again.
You can create as many environments as your like, and they can have diffrent versions of packages, like python, R, for exemplo. At the env creation, you must insert a package at this time. In this exemple, I passed the package called pip.
$ conda create -n name_of_env pip
You must activate the environment to use all the installed packages.
$ source activate name_of_env
After you are done of work, you must deactivate from the environment.
$ source deactivate name_of_env
These two lines will install R at version 3.2.2 and all the needed packages.
$ conda install -y -c r r-essentials=3.2.2
$ conda install -y -c bioconda r-sleuth
At this time, you should be able to use the installed packages.