Use estas etapas simples em um terminal:
cd
para 64 bits:
wget -c http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
para 32 bits
wget -c http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86.sh
Agora vou me referir à versão de 64 bits.
chmod +x Miniconda-latest-Linux-x86_64.sh
./Miniconda-latest-Linux-x86_64.sh
Os seguintes passos que você deve seguir:
Welcome to Miniconda 3.10.1 (by Continuum Analytics, Inc.)
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
Digite
leia a licença (ou não;)) e
Q
digite yes
Do you approve the license terms? [yes|no]
[no] >>> yes
aceite o caminho ou insira um novo caminho
Miniconda will now be installed into this location:
/home/<your_username>/miniconda
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/<your_username>/miniconda] >>>
Digite
PREFIX=/home/<your_username>/miniconda
installing: python-2.7.9-3 ...
installing: conda-env-2.1.4-py27_0 ...
installing: openssl-1.0.1k-1 ...
installing: pycosat-0.6.1-py27_0 ...
installing: pyyaml-3.11-py27_0 ...
installing: readline-6.2-2 ...
installing: requests-2.6.0-py27_0 ...
installing: sqlite-3.8.4.1-1 ...
installing: system-5.8-2 ...
installing: tk-8.5.18-0 ...
installing: yaml-0.1.4-0 ...
installing: zlib-1.2.8-0 ...
installing: conda-3.10.1-py27_0 ...
Python 2.7.9 :: Continuum Analytics, Inc.
creating default environment...
installation finished.
Do you wish the installer to prepend the Miniconda install location
to PATH in your /home/<your_username>/.bashrc ? [yes|no]
[no] >>>
digite yes
Prepending PATH=/home/<your_username>/miniconda/bin to PATH in /home/<your_username>/.bashrc
A backup will be made to: /home/<your_username>/.bashrc-miniconda.bak
For this change to become active, you have to open a new terminal.
Thank you for installing Miniconda!
Isso é tudo.
Feche seu terminal e reinicie ou source /home/<your_username>/.bashrc
Inicie o conda
e você verá algo assim:
$ conda
usage: conda [-h] [-V] command ...
conda is a tool for managing and deploying applications, environments and
packages.
positional arguments:
[...]
Agora você pode começar com, por exemplo. instalando numpy
:
conda install numpy