I am trying to install miniconda Python 2.7 on ubuntu 12.04. I have already written this:

if ! [ -f ~/.bash_profile ]; then touch ~/.bash_profile; fi
if ! [ -f ~/.bashrc ]; then touch ~/.bashrc; fi
if ! grep -q "source ~/.bashrc" ~/.bash_profile; then echo 'if [ -f    ~/.bashrc ]; then source ~/.bashrc; fi' >> ~/.bash_profile; fi

then I use:

bash Miniconda-*.sh 

but a process starts and never ends. I do not know how to fix this.

  • What's miniconda and how did you install it? May 3, 2015 at 13:33
  • 1
    @David, there is an answer below that answers your question too! ;-)
    – Fabby
    May 3, 2015 at 14:29
  • @DavidFoerster read my answer :)
    – A.B.
    May 6, 2015 at 7:26

1 Answer 1


Use this simple steps in a terminal:


for 64-bit:

wget -c http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh

for 32-bit

wget -c http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86.sh

I will now refer to the 64-bit version.

chmod +x Miniconda-latest-Linux-x86_64.sh

The following steps you have to go through:

Welcome to Miniconda 3.10.1 (by Continuum Analytics, Inc.)

In order to continue the installation process, please review the license
Please, press ENTER to continue


read the license (or not ;)) and


then type yes

Do you approve the license terms? [yes|no]
[no] >>> yes

accept the path or enter a new path

Miniconda will now be installed into this location:

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/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- ...
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] >>>

type 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!

Thats all.

Close your terminal and restart or source /home/<your_username>/.bashrc

Start conda and you will see something like this:

$ conda
usage: conda [-h] [-V] command ...

conda is a tool for managing and deploying applications, environments and

positional arguments:


Now you can start with eg. installing numpy:

conda install numpy
  • Thank you, but when I read licence and type "yes" a process starts and never ends and following steps never happens. May 3, 2015 at 4:19
  • when I type yes an endless stream of y starts and it does not end until I use ctrl+C May 3, 2015 at 6:55
  • Funny, hmm probably not.
    – A.B.
    May 3, 2015 at 7:01
  • Seems to be a bug. You should upgrade your Ubuntu.
    – A.B.
    May 3, 2015 at 7:03
  • finally I installed python, now I am trying to install a toolbox but this error occurs: May 6, 2015 at 7:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .